Post

[백준BOJ10171 C++] 고양이

[백준BOJ10171 C++] 고양이

문제

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


풀이

  • \ 출력 방법은 다음과 같다.
    1
    
    cout << "\\" << endl;
    

제출

1
2
3
4
5
6
7
8
9
10
#include <iostream>
using namespace std;

int main() {
	cout << "\\    /\\" << endl;
	cout << " )  ( ')" << endl;
	cout << "(  /  )" << endl;
	cout << " \\(__)|";
	return 0;
}
This post is licensed under CC BY 4.0 by the author.