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:6:5: error: 'a' was not declared in this scope
  0<=a,b<=32767;
     ^
foo.cc:7:17: error: found ':' in nested-name-specifier, expected '::'
  cout<<a+b<<end1:
                 ^
foo.cc:7:13: error: 'end1' has not been declared
  cout<<a+b<<end1:
             ^~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1207 a+b
比赛
初二开学分层赛
语言
C++
递交时间
2021-09-01 13:35:19
评测时间
2021-09-01 13:35:19
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes