Compile Error

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)提供评测服务

信息

递交者
类型
递交
题目
P1009 数据交换
语言
C++
递交时间
2021-11-13 09:18:14
评测时间
2021-11-13 09:18:14
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes