← Back to Challenge List

Submission #86693

上傳編號86693
上傳時間2019-11-06 14:24:31
題目 [2017AM-F]中華民國萬萬稅
使用者 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
Judge Information
./test.cpp: In function 'int main()':
./test.cpp:4:1: error: 'cin' was not declared in this scope
cin>>a;
^
./test.cpp:4:1: 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<<"Level A"<<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:22: error: 'endl' was not declared in this scope
cout<<"Level A"<<endl;
^
./test.cpp:6:22: 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:10:5: error: 'cout' was not declared in this scope
cout<<"Level B"<<endl;
^
./test.cpp:10: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:10:22: error: 'endl' was not declared in this scope
cout<<"Level B"<<endl;
^
./test.cpp:10:22: 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:5: error: 'cout' was not declared in this scope
cout<<"Level C"<<endl;
^
./test.cpp:14: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:14:22: e