Submission #117218

# Submission time Handle Problem Language Result Execution time Memory
117218 2019-06-15T11:30:34 Z maho04 scanf 함수 1 (BSC_0_3) C++14
Compilation error
0 ms 0 KB
using namespace std;
int a=0;
int main(){
  cin << a;
  cout>> a;
}

Compilation message

scanf1.cpp: In function 'int main()':
scanf1.cpp:4:3: error: 'cin' was not declared in this scope
   cin << a;
   ^~~
scanf1.cpp:4:3: note: suggested alternative: 'main'
   cin << a;
   ^~~
   main
scanf1.cpp:5:3: error: 'cout' was not declared in this scope
   cout>> a;
   ^~~~