记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:12:9: warning: comparison of constant '16' with boolean expression is always true [-Wbool-compare]
  if(10<n<16)
     ~~~~^~~
/in/foo.cc:12:7: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
  if(10<n<16)
     ~~^~
/in/foo.cc:17:9: warning: comparison of constant '24' with boolean expression is always true [-Wbool-compare]
  if(16<n<24)
     ~~~~^~~
/in/foo.cc:17:7: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
  if(16<n<24)
     ~~^~
/in/foo.cc:22:10: warning: comparison of constant '100' with boolean expression is always true [-Wbool-compare]
  if(24<=n<100)
     ~~~~~^~~~
/in/foo.cc:22:7: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
  if(24<=n<100)
     ~~^~~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 220.0 KiB
#2 Accepted 1ms 228.0 KiB
#3 Wrong Answer 1ms 224.0 KiB
#4 Wrong Answer 1ms 228.0 KiB
#5 Wrong Answer 1ms 228.0 KiB

信息

递交者
类型
递交
题目
1 猜数游戏的最少次数
比赛
2020苏青奥赛集训营(2021-2-3课堂小练)
语言
C++
递交时间
2021-02-03 13:36:33
评测时间
2021-02-03 13:36:33
评测机
分数
20
总耗时
6ms
峰值内存
228.0 KiB