Run id: 142749
Main.cc:1:21: warning: extra tokens at end of #include directive
#include using namespace std;
^
Main.cc: In function 'int main()':
Main.cc:3:15: error: 'cin' was not declared in this scope
int a, b; cin >> a >> b; cout << a + b << endl;
^
Main.cc:3:15: note: suggested alternative:
In file included from Main.cc:1:0:
/usr/include/c++/5/iostream:60:18: note: 'std::cin'
extern istream cin; /// Linked to standard input
^
Main.cc:3:30: error: 'cout' was not declared in this scope
int a, b; cin >> a >> b; cout << a + b << endl;
^
Main.cc:3:30: note: suggested alternative:
In file included from Main.cc:1:0:
/usr/include/c++/5/iostream:61:18: note: 'std::cout'
extern ostream cout; /// Linked to standard output
^
Main.cc:3:47: error: 'endl' was not declared in this scope
int a, b; cin >> a >> b; cout << a + b << endl;
^
Main.cc:3:47: note: suggested alternative:
In file included from /usr/include/c++/5/iostream:39:0,
from Main.cc:1:
/usr/include/c++/5/ostream:590:5: note: 'std::endl'
endl(basic_ostream<_CharT, _Traits>& __os)
^
Main.cc:4:13: error: expected '}' at end of input
return 0;
^