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