← Back to Challenge List

Submission #97258

上傳編號97258
上傳時間2020-05-14 10:35:50
題目 小偷Litten(測試題)
使用者 anonymous
總得分 0, CE in 0 ms
# State Runtime Memory
0 CE 0 ms 0
1 CE 0 ms 0
2 CE 0 ms 0
3 CE 0 ms 0
4 CE 0 ms 0
5 CE 0 ms 0
6 CE 0 ms 0
7 CE 0 ms 0
8 CE 0 ms 0
9 CE 0 ms 0
Judge Information
./test.cpp: In function 'int main(int, const char**)':
./test.cpp:5:5: error: 'cin' was not declared in this scope
cin>>a>>b;
^
./test.cpp:5:5: note: suggested alternative:
In file included from ./test.cpp:1:0:
/usr/include/c++/5/iostream:60:18: note: 'std::cin'
extern istream cin; /// Linked to standard input
^
./test.cpp:6:5: error: 'cout' was not declared in this scope
cout<<c<<endl;
^
./test.cpp:6:5: note: suggested alternative:
In file included from ./test.cpp:1:0:
/usr/include/c++/5/iostream:61:18: note: 'std::cout'
extern ostream cout; /// Linked to standard output
^
./test.cpp:6:14: error: 'endl' was not declared in this scope
cout<<c<<endl;
^
./test.cpp:6:14: note: suggested alternative:
In file included from /usr/include/c++/5/iostream:39:0,
from ./test.cpp:1:
/usr/include/c++/5/ostream:590:5: note: 'std::endl'
endl(basic_ostream<_CharT, _Traits>& __os)
^