본문 바로가기

Beakjoon

C언어) baekjoon 10171 [고양이]

고양이 성공

한국어   

시간 제한메모리 제한제출정답맞은 사람정답 비율

1 초 256 MB 45718 16914 15664 41.272%

문제

아래 예제와 같이 고양이를 출력하시오.

입력

없음.

출력

고양이를 출력한다.

예제 입력 1

예제 출력 1

\ /\ ) ( ') ( / ) \(__)|

1
2
3
4
5
6
7
8
#include <stdio.h>
int main(void)
{
    printf("\\    /\\\n");
    printf(" )  ( ')\n");
    printf("(  /  )\n");
    printf(" \\(__)|\n");
}
http://colorscripter.com/info#e" target="_blank" style="text-decoration:none;color:white">cs

풀이 방법 : \n은 줄바꿈이다. 이것을 알면 풀 수 있다.

'Beakjoon' 카테고리의 다른 글

C언어) baekjoon 10172 [개]  (0) 2019.12.22
C언어) baekjoon 10718 [We love kriii]  (0) 2019.12.22
C언어) baekjoon 2557 [Hello World]  (0) 2019.12.22

/*스크롤 인디케이터 시작*/ .header { position: absolute; top: 0; z-index: 1; width: 100%; background-color: #fff; } .progress-container { width: 100%; height: 4px; background: #f6f6f6; } .progress-bar { height: 4px; background: #6C6C6C; width: 0%; } /*스크롤 인디케이터 종료*/ /*왼쪽, 좌측 밑의 이미지 추가 시작*/ /*가로의 길이가 1510일때까지는 보여라*/ @media screen and (min-width:1500px) { .main_ad { display:visible; position: absolute; left: 0px; bottom: 80px; cursor: pointer; z-index: 11; } } /*가로의 길이가 1511일까지는 보이지 말아라*/ @media screen and (max-width:1510px) { .main_ad { display:none; position: absolute; left: 0px; bottom: 80px; cursor: pointer; z-index: 11; } } /*왼쪽, 좌측 밑의 이미지 추가 종료*/ /*이웃추가버튼 추가 시작*/ @media screen and (min-width:500px) { .add_adBanner { display:visible; } } @media screen and (max-width:510px) { .add_adBanner { display:none; } } .add_adBanner ul { position: absolute; left: 10px; bottom: 22px; cursor: pointer; z-index: 12; } .add_adBanner li { margin : 0 0 0 0; padding : 0 0 0 0; border : 0; float : left; } /*이웃추가버튼 추가 종료*/