foo.cc: In function 'int main()':
foo.cc:5:5: error: 'intx' was not declared in this scope
intx,y,z,a;
^~~~
foo.cc:5:5: note: suggested alternative: 'int'
intx,y,z,a;
^~~~
int
foo.cc:5:10: error: 'y' was not declared in this scope
intx,y,z,a;
^
foo.cc:5:12: error: 'z' was not declared in this scope
intx,y,z,a;
^
foo.cc:5:14: error: 'a' was not declared in this scope
intx,y,z,a;
^
foo.cc:7:10: error: 'X' was not declared in this scope
cin>>X>>y>>z;
^
foo.cc:8:11: error: 'x' was not declared in this scope
a=z+y+x;
^
[Hydro](https://hydro.ac)提供评测服务