Main.cc: In function 'int main()':
Main.cc:5:5: error: 'cin' was not declared in this scope
cin>>n;
^
Main.cc:6:22: error: expected primary-expression before 'or' token
if (n % 400 == 0) or (n % 100 != 0 and n % 4 == 0){
^
Main.cc:9:9: error: 'cout' was not declared in this scope
cout<<"No"
^
Main.cc:4:9: warning: unused variable 't' [-Wunused-variable]
int t, n;
^
Main.cc:12:13: error: expected '}' at end of input
return 0;
^