Compile Error

foo.cc: In function 'int main()':
foo.cc:6:11: warning: left operand of comma operator has no effect [-Wunused-value]
     -10000<a,b,c<10000;
     ~~~~~~^~
foo.cc:6:18: warning: right operand of comma operator has no effect [-Wunused-value]
     -10000<a,b,c<10000;
                  ^~~~~
foo.cc:6:17: warning: right operand of comma operator has no effect [-Wunused-value]
     -10000<a,b,c<10000;
                ~^~~~~~
foo.cc:7:20: error: 'end1' was not declared in this scope
     cout<<(a+b)*c<<end1;
                    ^~~~
foo.cc:7:20: note: suggested alternative: 'enum'
     cout<<(a+b)*c<<end1;
                    ^~~~
                    enum
foo.cc:8:5: error: 'return0' was not declared in this scope
     return0;
     ^~~~~~~
[Hydro](https://hydro.ac)提供评测服务

信息

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