Submission #52637

# Submission time Handle Problem Language Result Execution time Memory
52637 2018-06-26T10:16:10 Z gs18115 printf 함수 1 (BSC_0_1) C++14
100 / 100
2 ms 248 KB
extern"C"{int puts(const char*);}main(){puts("Hello World!");}

Compilation message

printf1.cpp:1:39: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
 extern"C"{int puts(const char*);}main(){puts("Hello World!");}
                                       ^
# Verdict Execution time Memory Grader output
1 Correct 2 ms 248 KB Output is correct