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)
^