Compile Error

foo.cc: In function 'int main()':
foo.cc:5:2: error: 'inta' was not declared in this scope
  inta,b;
  ^~~~
foo.cc:5:2: note: suggested alternative: 'int'
  inta,b;
  ^~~~
  int
foo.cc:5:7: error: 'b' was not declared in this scope
  inta,b;
       ^
foo.cc:7:7: error: 'a' was not declared in this scope
  cin>>a>>b;
       ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1006 求长方形的周长和面积
语言
C++
递交时间
2021-11-06 09:41:48
评测时间
2021-11-06 09:41:48
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes