Submission #18895

#TimeUsernameProblemLanguageResultExecution timeMemory
18895dltldls95scanf 함수 1 (BSC_0_3)C++98
Compilation error
0 ms0 KiB
#include <iostream> void main() { int a = 0; std::cin>>a; std::cout<<a; }

Compilation message (stderr)

scanf1.cpp:2:11: error: ‘::main’ must return ‘int’
 void main()
           ^