Wrong Answer

foo.cc: In function 'int main()':
foo.cc:13:9: warning: comparison of constant '10' with boolean expression is always true [-Wbool-compare]
  if(0<=x<10)
     ~~~~^~~
foo.cc:13:6: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
  if(0<=x<10)
     ~^~~
foo.cc:17:10: warning: comparison of constant '25' with boolean expression is always true [-Wbool-compare]
  if(10<=x<25)
     ~~~~~^~~
foo.cc:17:7: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
  if(10<=x<25)
     ~~^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 19, expect -11. 2ms 412.0 KiB
#2 Wrong Answer Read -81, expect -1. 2ms 404.0 KiB
#3 Accepted 2ms 412.0 KiB
#4 Accepted 2ms 384.0 KiB
#5 Accepted 1ms 384.0 KiB

信息

递交者
类型
递交
题目
P1064 阶段测验2-1
语言
C++
递交时间
2021-07-27 19:28:24
评测时间
2021-07-27 19:28:24
评测机
分数
60
总耗时
10ms
峰值内存
412.0 KiB