제출 #117226

#제출 시각아이디문제언어결과실행 시간메모리
117226maho04scanf 함수 1 (BSC_0_3)C++14
컴파일 에러
0 ms0 KiB
using namespace std; int main(void){ int d; cin>>d; cout<<d; }

컴파일 시 표준 에러 (stderr) 메시지

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