Submission #00022
ソースコード
ステータス
コンパイルメッセージ
./Main.cpp: In function ‘int main()’:
./Main.cpp:6:5: error: ‘cin’ was not declared in this scope
cin >>a;
^~~
./Main.cpp:6:5: note: suggested alternative:
In file included from /usr/local/gcc-8.2.0/include/c++/8.2.0/x86_64-pc-linux-gnu/bits/stdc++.h:75,
from ./Main.cpp:1:
/usr/local/gcc-8.2.0/include/c++/8.2.0/iostream:60:18: note: ‘std::cin’
extern istream cin; /// Linked to standard input
^~~
./Main.cpp:7:5: error: ‘cout’ was not declared in this scope
cout <<a/4<<endl
^~~~
./Main.cpp:7:5: note: suggested alternative:
In file included from /usr/local/gcc-8.2.0/include/c++/8.2.0/x86_64-pc-linux-gnu/bits/stdc++.h:75,
from ./Main.cpp:1:
/usr/local/gcc-8.2.0/include/c++/8.2.0/iostream:61:18: note: ‘std::cout’
extern ostream cout; /// Linked to standard output
^~~~
セット
テストケース