[백준 10189] Hook (C#, C++) - soo:bak
작성일 :
문제 링크
설명
주어진 4줄의 아스키 아트를 그대로 출력하면 됩니다. 입력은 없습니다.
접근법
문자열 4줄을 순서대로 출력합니다.
Code
C#
1
2
3
4
5
6
7
8
9
10
using System;
class Program {
static void Main() {
Console.WriteLine("# # #### #### # #");
Console.WriteLine("#### # # # # # #");
Console.WriteLine("#### # # # # # #");
Console.WriteLine("# # #### #### # #");
}
}
C++
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <bits/stdc++.h>
using namespace std;
int main() {
ios::sync_with_stdio(false);
cin.tie(nullptr);
cout << "# # #### #### # #\n";
cout << "#### # # # # # #\n";
cout << "#### # # # # # #\n";
cout << "# # #### #### # #\n";
return 0;
}