Run id: 145571
Main.cc: In function 'int main()':
Main.cc:4:5: error: 'cin' was not declared in this scope
cin >> year;
^
Main.cc:4:5: 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:6:9: error: 'cout' was not declared in this scope
cout << "leap year" << endl;
^
Main.cc:6:9: 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:6:32: error: 'endl' was not declared in this scope
cout << "leap year" << endl;
^
Main.cc:6:32: 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:8:9: error: 'cout' was not declared in this scope
cout << "not leap year" << endl;
^
Main.cc:8:9: 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:8:36: error: 'endl' was not declared in this scope
cout << "not leap year" << endl;
^
Main.cc:8:36: 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)
^