작성일 :

문제 링크

5338번 - 마이크로소프트 로고

설명

입력 없이 예제와 동일한 ASCII 아트를 출력하기만 하면 되는 단순 출력 문제입니다.


접근법

주어진 모양을 그대로 출력하면 됩니다.



Code

C#

1
2
3
4
5
6
7
8
9
10
11
using System;

class Program {
  static void Main() {
    Console.WriteLine("       _.-;;-._");
    Console.WriteLine("'-..-'|   ||   |");
    Console.WriteLine("'-..-'|_.-;;-._|");
    Console.WriteLine("'-..-'|   ||   |");
    Console.WriteLine("'-..-'|_.-''-._|");
  }
}

C++

1
2
3
4
5
6
7
8
9
10
11
12
13
14
#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";
  cout << "'-..-'|_.-''-._|\n";
  return 0;
}