← Back to Challenge List

Submission #112457

上傳編號112457
上傳時間2020-11-07 15:08:43
題目 小偷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
Judge Information
./test.cpp: In function 'int main()':
./test.cpp:4:11: error: 'cin' was not declared in this scope
while(cin>>x>>y){
^
./test.cpp:4:11: note: suggested alternative:
In file included from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:74:0,
from ./test.cpp:1:
/usr/include/c++/5/iostream:60:18: note: 'std::cin'
extern istream cin; /// Linked to standard input
^
./test.cpp:5:9: error: 'cout' was not declared in this scope
cout<<x+y<<"\n";
^
./test.cpp:5:9: note: suggested alternative:
In file included from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:74:0,
from ./test.cpp:1:
/usr/include/c++/5/iostream:61:18: note: 'std::cout'
extern ostream cout; /// Linked to standard output
^