foo.cc:13:6: error: stray '#' in program
else#include <iostream>
^
foo.cc: In function 'int main()':
foo.cc:6:6: warning: statement has no effect [-Wunused-value]
n / 100;
~~^~~~~
foo.cc:11:3: error: 'cout' was not declared in this scope
cout << "Yes";
^~~~
foo.cc:13:7: error: 'include' was not declared in this scope
else#include <iostream>
^~~~~~~
foo.cc:13:7: note: suggested alternative: '__has_include'
else#include <iostream>
^~~~~~~
__has_include
foo.cc:13:16: error: 'iostream' was not declared in this scope
else#include <iostream>
^~~~~~~~
foo.cc:14:3: error: 'cin' was not declared in this scope
cin >> n;
^~~
foo.cc:14:3: note: suggested alternative: 'main'
cin >> n;
^~~
main
foo.cc:17:3: error: 'cout' was not declared in this scope
cout << "No";
^~~~
foo.cc:17:15: error: expected '}' before ';' token
cout << "No";
^
foo.cc:17:15: error: cannot convert '<brace-enclosed initializer list>' to 'int' in assignment
foo.cc: At global scope:
foo.cc:19:2: error: expected unqualified-id before 'return'
return 0;
^~~~~~
foo.cc:20:1: error: expected declaration before '}' token
}
^
[Hydro](https://hydro.ac)提供评测服务