foo.cc: In function 'int main()':
foo.cc:6:2: error: 'inta' was not declared in this scope
inta,b,c;
^~~~
foo.cc:6:2: note: suggested alternative: 'int'
inta,b,c;
^~~~
int
foo.cc:6:7: error: 'b' was not declared in this scope
inta,b,c;
^
foo.cc:6:9: error: 'c' was not declared in this scope
inta,b,c;
^
foo.cc:7:16: error: 'a' was not declared in this scope
sanf("%d,%d",&a,&b);
^
foo.cc:7:2: error: 'sanf' was not declared in this scope
sanf("%d,%d",&a,&b);
^~~~
foo.cc:7:2: note: suggested alternative: 'scanf'
sanf("%d,%d",&a,&b);
^~~~
scanf
[Hydro](https://hydro.ac)提供评测服务