foo.cc: In function 'int main()':
foo.cc:10:5: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
10 | cin>>n;
| ^~~
| std::cin
In file included from foo.cc:5:
/usr/include/c++/13/iostream:62:18: note: 'std::cin' declared here
62 | extern istream cin; ///< Linked to standard input
| ^~~
foo.cc:11:20: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
11 | if(n*2 <= 100) cout<<"YES\n";
| ^~~~
| std::cout
/usr/include/c++/13/iostream:63:18: note: 'std::cout' declared here
63 | extern ostream cout; ///< Linked to standard output
| ^~~~
foo.cc:12:10: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
12 | else cout<<"NO\n";
| ^~~~
| std::cout
/usr/include/c++/13/iostream:63:18: note: 'std::cout' declared here
63 | extern ostream cout; ///< Linked to standard output
| ^~~~