Notice
Recent Posts
Recent Comments
Link
«   2025/04   »
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30
Archives
Today
Total
관리 메뉴

hwooo

(C) 25083번: 새싹 본문

Study/Algorithm

(C) 25083번: 새싹

hwooo 2022. 6. 3. 04:29

 

https://www.acmicpc.net/problem/25083

 

25083번: 새싹

아래 예제와 같이 새싹을 출력하시오.

www.acmicpc.net


출제의도

\과 ' 출력 방법을 묻는 문제

:  \ 출력 시 \\로,  " 출력 시 \"로 작성


코드

#include <stdio.h>
int main() {
	printf("         ,r'\"7\n"); // "를 출력하고자 \"로 작성
	printf("r`-_   ,'  ,/\n");
	printf(" \\. \". L_r'\n"); // \출력하고자 \\로 작성
	printf("   `~\\/\n");
	printf("      |\n");
	printf("      |\n");
}

'Study > Algorithm' 카테고리의 다른 글

(C) 2884번: 알람 시계  (0) 2022.06.04
(C) 14681번: 사분면 고르기  (0) 2022.06.04
(C) 2753번: 윤년  (0) 2022.06.04
(C) 9498번: 시험 성적  (0) 2022.06.04
(C) 1330번: 두 수 비교하기  (0) 2022.06.03