/in/foo.cc: In function 'int main()':
/in/foo.cc:3:5: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
3 | cin >>m;
| ^~~
| std::cin
In file included from /in/foo.cc:1:
/usr/include/c++/12/iostream:60:18: note: 'std::cin' declared here
60 | extern istream cin; /// Linked to standard input
| ^~~
/in/foo.cc:3:11: error: 'm' was not declared in this scope; did you mean 'tm'?
3 | cin >>m;
| ^
| tm
/in/foo.cc:4:7: error: unable to find numeric literal operator 'operator""a'
4 | m=100a+10b+c
| ^~~~
/in/foo.cc:4:7: note: use '-fext-numeric-literals' to enable more built-in suffixes
/in/foo.cc:4:12: error: unable to find numeric literal operator 'operator""b'
4 | m=100a+10b+c
| ^~~
/in/foo.cc:4:12: note: use '-fext-numeric-literals' to enable more built-in suffixes
/in/foo.cc:4:16: error: 'c' was not declared in this scope
4 | m=100a+10b+c
| ^
/in/foo.cc:6:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
6 | cout <<"YES"<<;
| ^~~~
| std::cout
/usr/include/c++/12/iostream:61:18: note: 'std::cout' declared here
61 | extern ostream cout; /// Linked to standard output
| ^~~~
/in/foo.cc:6:19: error: expected primary-expression before ';' token
6 | cout <<"YES"<<;
| ^
/in/foo.cc:7:5: error: 'else' without a previous 'if'
7 | else
| ^~~~
/in/foo.cc:8:18: error: expected primary-expression before ';' token
8 | cout <<"NO"<<;
| ^
/in/foo.cc:9:13: error: expected ';' before '}' token
9 | return 0
| ^
| ;
10 |
11 | }
| ~