foo.cc:1:2: error: "1nclude" after # is not a positive integer
#1nclude <iostream>
^~~~~~~
foo.cc: In function 'int main()':
foo.cc:6:2: error: 'cin' was not declared in this scope
cin>>a>>b>>c;
^~~
foo.cc:6:2: note: suggested alternative: 'main'
cin>>a>>b>>c;
^~~
main
foo.cc:7:2: error: 's' was not declared in this scope
s=(a+b+c)/3;
^
foo.cc:8:2: error: 'cout' was not declared in this scope
cout>>s;
^~~~
foo.cc:9:2: error: 'return0' was not declared in this scope
return0;
^~~~~~~
foo.cc:5:12: warning: unused variable 'd' [-Wunused-variable]
int a,b,c,d;
^
[Hydro](https://hydro.ac)提供评测服务