Submission #18895

# Submission time Handle Problem Language Result Execution time Memory
18895 2016-02-16T12:10:06 Z dltldls95 scanf 함수 1 (BSC_0_3) C++
Compilation error
0 ms 0 KB
#include <iostream>
void main()
{
  int a = 0;
  std::cin>>a;
  std::cout<<a;
}

Compilation message

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