반응형
요약 : 예제 출력 1 그대로 출력하되, \(백슬래시)는 cout << "\" << endl; 이 출력되지 않는다.
cout << "\\" << endl; -> \출력
소스코드
1
2
3
4
5
6
7
8
9
10
11
|
#include <iostream>
using namespace std;
int main(void) {
cout << "\\ /\\" << endl;
cout << " ) ( ')" << endl;
cout << "( / )" << endl;
cout << " \\(__)|" << endl;
return 0;
}
|
cs |
정답 확인
반응형
'category > 백준 알고리즘 c++' 카테고리의 다른 글
백준 알고리즘 10869번 사칙연산 c++ (0) | 2020.12.03 |
---|---|
백준 알고리즘 1008번 A/B c++ (0) | 2020.12.03 |
백준 알고리즘 10998번 AxB c++ (0) | 2020.12.03 |
백준 알고리즘 1001번 A-B c++ (0) | 2020.12.03 |
백준 알고리즘 1000번 A+B c++ (0) | 2020.12.03 |
백준 알고리즘 10172번 개 c++ (0) | 2020.12.03 |
백준 알고리즘 10718번 We love kriii c++ (0) | 2020.12.01 |
백준 알고리즘 2557번 Hello World c++ (0) | 2020.12.01 |
댓글