Wrong Answer
/in/foo.cc: In function 'int main()':
/in/foo.cc:11:15: warning: left operand of comma operator has no effect [-Wunused-value]
11 | else if (x>=500,x<1000)
| ~^~~~~
/in/foo.cc:15:15: warning: left operand of comma operator has no effect [-Wunused-value]
15 | else if (x>=1000,x<1500)
| ~^~~~~~
/in/foo.cc:19:15: warning: left operand of comma operator has no effect [-Wunused-value]
19 | else if (x>=1500,x<2000)
| ~^~~~~~
信息
- 递交者
- 类型
- 递交
- 题目
- P1019 contest1-4 超市促销活动
- 比赛
- 2026-11-13 C++实测1
- 语言
- C++
- 递交时间
- 2026-11-13 20:24:57
- 评测时间
- 2026-11-13 20:24:57
- 评测机
- 分数
- 20
- 总耗时
- 9ms
- 峰值内存
- 532.0 KiB