foo.cc: In function 'int main()':
foo.cc:5:9: error: expected unqualified-id before numeric constant
int 0<=x;
^
foo.cc:6:7: error: expected initializer before '<=' token
int y<=32767;
^~
foo.cc:7:2: error: 'cout' was not declared in this scope
cout<<x+y<<endl;
^~~~
foo.cc:7:8: error: 'x' was not declared in this scope
cout<<x+y<<endl;
^
foo.cc:7:10: error: 'y' was not declared in this scope
cout<<x+y<<endl;
^
foo.cc:7:13: error: 'endl' was not declared in this scope
cout<<x+y<<endl;
^~~~
foo.cc:7:13: note: suggested alternative: 'enum'
cout<<x+y<<endl;
^~~~
enum
[Hydro](https://hydro.ac)提供评测服务