记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:14:15: warning: comparison of constant '20' with boolean expression is always true [-Wbool-compare]
   else if(10<z<=20) cout << 10*z;
           ~~~~^~~~
/in/foo.cc:14:13: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
   else if(10<z<=20) cout << 10*z;
           ~~^~
/in/foo.cc:15:15: warning: comparison of constant '30' with boolean expression is always true [-Wbool-compare]
   else if(20<z<=30) cout << 15*z;
           ~~~~^~~~
/in/foo.cc:15:13: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
   else if(20<z<=30) cout << 15*z;
           ~~^~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 316.0 KiB
#2 Wrong Answer 1ms 336.0 KiB
#3 Wrong Answer 1ms 324.0 KiB
#4 Wrong Answer 1ms 360.0 KiB
#5 Wrong Answer 1ms 376.0 KiB
#6 Wrong Answer 1ms 336.0 KiB
#7 Wrong Answer 1ms 324.0 KiB
#8 Accepted 1ms 332.0 KiB
#9 Wrong Answer 1ms 324.0 KiB
#10 Wrong Answer 1ms 336.0 KiB

信息

递交者
类型
递交
题目
P1020 快递计算问题
语言
C++
递交时间
2024-11-06 21:02:29
评测时间
2024-11-06 21:02:29
评测机
分数
10
总耗时
16ms
峰值内存
376.0 KiB