← Back to Challenge List

Submission #88878

上傳編號88878
上傳時間2019-11-17 21:32:17
題目 小偷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()':
./test.cpp:8:5: error: 'cin' was not declared in this scope
cin >>a>>b;
^
./test.cpp:8: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:11:9: error: 'cout' was not declared in this scope
cout<<a+b<<endl;
^
./test.cpp:11:9: 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:11:20: error: 'endl' was not declared in this scope
cout<<a+b<<endl;
^
./test.cpp:11:20: 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)
^
./test.cpp:14:9: error: 'cout' was not declared in this scope
cout<<a+b<<endl;
^
./test.cpp:14:9: 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:14:20: error: 'endl' was not declared in this scope
cout<<a+b<<endl;
^
./test.cpp:14:20: 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)
^