Submission #445627

# Submission time Handle Problem Language Result Execution time Memory
445627 2021-07-19T06:28:21 Z hgmhc printf 함수 2 (BSC_0_2) C++17
Compilation error
0 ms 0 KB
#include <iostream>
int main() {
  std::cout << R("...______.~...
~.///////\..-.
.///////_'\...
..II%II.+I.,..
..IIIII.nI.P..
""""""""""""""");
}

Compilation message

printf2.cpp:3:18: warning: missing terminating " character
    3 |   std::cout << R("...______.~...
      |                  ^
printf2.cpp:3:18: error: missing terminating " character
    3 |   std::cout << R("...______.~...
      |                  ^~~~~~~~~~~~~~~
printf2.cpp:8:15: warning: missing terminating " character
    8 | """"""""""""""");
      |               ^
printf2.cpp:8:15: error: missing terminating " character
    8 | """"""""""""""");
      |               ^~~
printf2.cpp: In function 'int main()':
printf2.cpp:4:2: error: expected primary-expression before '.' token
    4 | ~.///////\..-.
      |  ^
printf2.cpp:5:1: error: expected unqualified-id before '.' token
    5 | .///////_'\...
      | ^
printf2.cpp:6:1: error: expected unqualified-id before '.' token
    6 | ..II%II.+I.,..
      | ^
printf2.cpp:6:2: error: expected unqualified-id before '.' token
    6 | ..II%II.+I.,..
      |  ^
printf2.cpp:6:6: error: 'II' was not declared in this scope
    6 | ..II%II.+I.,..
      |      ^~
printf2.cpp:6:9: error: expected unqualified-id before '+' token
    6 | ..II%II.+I.,..
      |         ^
printf2.cpp:6:10: error: 'I' was not declared in this scope
    6 | ..II%II.+I.,..
      |          ^
printf2.cpp:6:12: error: expected unqualified-id before ',' token
    6 | ..II%II.+I.,..
      |            ^
printf2.cpp:6:13: error: expected primary-expression before '.' token
    6 | ..II%II.+I.,..
      |             ^
printf2.cpp:6:14: error: expected unqualified-id before '.' token
    6 | ..II%II.+I.,..
      |              ^
printf2.cpp:7:1: error: expected unqualified-id before '.' token
    7 | ..IIIII.nI.P..
      | ^
printf2.cpp:7:2: error: expected unqualified-id before '.' token
    7 | ..IIIII.nI.P..
      |  ^
printf2.cpp:7:14: error: expected unqualified-id before '.' token
    7 | ..IIIII.nI.P..
      |              ^
printf2.cpp:8:1: error: expected unqualified-id before string constant
    8 | """"""""""""""");
      | ^~