[백준 5337] 웰컴 (C#, C++) - soo:bak
작성일 :
문제 링크
설명
입력 없이 “Welcome” ASCII 아트를 그대로 출력하는 문제입니다.
접근법
예제 출력과 동일한 문자열을 그대로 출력하면 됩니다.
Code
C#
1
2
3
4
5
6
7
8
9
using System;
class Program {
static void Main() {
Console.WriteLine(". . .");
Console.WriteLine("| | _ | _. _ ._ _ _");
Console.WriteLine("|/\\|(/.|(_.(_)[ | )(/.");
}
}
C++
1
2
3
4
5
6
7
8
9
10
11
12
#include <bits/stdc++.h>
using namespace std;
int main() {
ios::sync_with_stdio(false);
cin.tie(nullptr);
cout << ". . .\n";
cout << "| | _ | _. _ ._ _ _\n";
cout << "|/\\|(/.|(_.(_)[ | )(/.\n";
return 0;
}