Submission #717832

# Submission time Handle Problem Language Result Execution time Memory
717832 2023-04-02T15:55:29 Z EntityPlantt printf 함수 2 (BSC_0_2) C++14
0 / 100
0 ms 212 KB
#include<cstdio>
main(){printf("...______.~...\n~.///////\..-.\n.///////_'\...\n..II%II.+I.,..\n..IIIIII.nI.P..\n\"\"\"\"\"\"\"\"\"\"\"\"\"\"");}

Compilation message

printf2.cpp:2:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    2 | main(){printf("...______.~...\n~.///////\..-.\n.///////_'\...\n..II%II.+I.,..\n..IIIIII.nI.P..\n\"\"\"\"\"\"\"\"\"\"\"\"\"\"");}
      | ^~~~
printf2.cpp: In function 'int main()':
printf2.cpp:2:15: warning: unknown escape sequence: '\.'
    2 | main(){printf("...______.~...\n~.///////\..-.\n.///////_'\...\n..II%II.+I.,..\n..IIIIII.nI.P..\n\"\"\"\"\"\"\"\"\"\"\"\"\"\"");}
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
printf2.cpp:2:15: warning: unknown escape sequence: '\.'
printf2.cpp:2:70: warning: repeated 'I' flag in format [-Wformat=]
    2 | main(){printf("...______.~...\n~.///////\..-.\n.///////_'\...\n..II%II.+I.,..\n..IIIIII.nI.P..\n\"\"\"\"\"\"\"\"\"\"\"\"\"\"");}
      |                                                                      ^
printf2.cpp:2:72: warning: unknown conversion type character '+' in format [-Wformat=]
    2 | main(){printf("...______.~...\n~.///////\..-.\n.///////_'\...\n..II%II.+I.,..\n..IIIIII.nI.P..\n\"\"\"\"\"\"\"\"\"\"\"\"\"\"");}
      |                                                                        ^
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -