/in/foo.cc: In function 'int main()':
/in/foo.cc:5:2: error: 'cin' was not declared in this scope
5 | cin>>N;
| ^~~
/in/foo.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
+++ |+#include <iostream>
1 | using namespace std;
/in/foo.cc:8:25: error: 'cout' was not declared in this scope
8 | if(int((R+0.5)/1)==I) cout<<"Correct"<<endl;
| ^~~~
/in/foo.cc:8:25: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
/in/foo.cc:8:42: error: 'endl' was not declared in this scope
8 | if(int((R+0.5)/1)==I) cout<<"Correct"<<endl;
| ^~~~
/in/foo.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; did you forget to '#include <ostream>'?
+++ |+#include <ostream>
1 | using namespace std;
/in/foo.cc:9:8: error: 'cout' was not declared in this scope
9 | else cout<<"Not Correct"<<endl;
| ^~~~
/in/foo.cc:9:8: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
/in/foo.cc:9:29: error: 'endl' was not declared in this scope
9 | else cout<<"Not Correct"<<endl;
| ^~~~
/in/foo.cc:9:29: note: 'std::endl' is defined in header '<ostream>'; did you forget to '#include <ostream>'?