Algorithm/BOJ
백준 10172번 C++
poopooreum
2023. 9. 4. 10:48
반응형
백준 10172번 개
https://www.acmicpc.net/problem/10172
10172번: 개
문제 아래 예제와 같이 개를 출력하시오. 입력 출력 예제 입력 1 복사 예제 출력 1 복사 |\_/| |q p| /} ( 0 )"""\ |"^"` | ||_/=\\__|...
www.acmicpc.net


정답 코드
#include <iostream>
using namespace std;
int main(int argc, char const *argv[]) {
cout << "|\\_/|\n";
cout << "|q p| /}\n";
cout << "( 0 )\"\"\"\\\n";
cout << "|\"^\"` |\n";
cout << "||_/=\\\\__|\n";
return 0;
}
반응형