Wrong Answer
/in/foo.cc: In function 'int main()':
/in/foo.cc:24:17: warning: comparison of constant '500' with boolean expression is always true [-Wbool-compare]
24 | else if (0<a<500)
| ~~~^~~~
/in/foo.cc:24:15: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
24 | else if (0<a<500)
| ~^~
信息
- 递交者
- 类型
- 递交
- 题目
- P1019 contest1-4 超市促销活动
- 比赛
- 2026-11-13 C++实测1
- 语言
- C++
- 递交时间
- 2026-11-13 20:15:06
- 评测时间
- 2026-11-13 20:15:06
- 评测机
- 分数
- 20
- 总耗时
- 9ms
- 峰值内存
- 492.0 KiB