끄적끄적 코딩
article thumbnail
Published 2019. 9. 18. 08:24
[C++] 백준 5337번 웰컴 알고리즘

 

예제 출력 1에 있는 모양을 출력하는 문제입니다.

 

#include <iostream>
using namespace std;

int main(int argc, char* argv[])
{
	cout << ".  .   ." << endl;
	cout << "|  | _ | _. _ ._ _  _" << endl;
	cout << "|/\\|(/.|(_.(_)[ | )(/." << endl;

	return 0;
}

'알고리즘' 카테고리의 다른 글

[C++] 백준 1914번 하노이 탑  (0) 2019.09.18
[C++] 백준 4101번 크냐?  (0) 2019.09.18
[C++] 백준 2903번 중앙 이동 알고리즘  (0) 2019.09.18
[C++] 백준 14490번 백대열  (0) 2019.09.17
[C++] 백준 2959번 거북이  (0) 2019.09.17

검색 태그