Compile Error

foo.cc: In function 'int main()':
foo.cc:5:6: error: expected unqualified-id before '-' token
  int -10000<a,b,c<10000;
      ^
foo.cc:6:9: error: 'a' was not declared in this scope
  cout<<(a+b)*c<<endl;
         ^
foo.cc:6:11: error: 'b' was not declared in this scope
  cout<<(a+b)*c<<endl;
           ^
foo.cc:6:14: error: 'c' was not declared in this scope
  cout<<(a+b)*c<<endl;
              ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P2311 1.3.2:计算(a+b)*c的值
比赛
初二开学分层赛
语言
C++
递交时间
2021-09-01 13:35:02
评测时间
2021-09-01 13:35:02
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes