记录详情

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)
      |              ~^~
# 状态 耗时 内存占用
#1 Wrong Answer 2ms 480.0 KiB
#2 Wrong Answer 1ms 468.0 KiB
#3 Accepted 1ms 492.0 KiB
#4 Wrong Answer 1ms 368.0 KiB
#5 Wrong Answer 1ms 352.0 KiB

信息

递交者
类型
递交
题目
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