Wrong Answer

foo.cc: In function 'int main()':
foo.cc:12:14: warning: comparison of constant '15' with boolean expression is always true [-Wbool-compare]
  else if(5<=x<15)
          ~~~~^~~
foo.cc:12:11: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
  else if(5<=x<15)
          ~^~~
foo.cc:16:15: warning: comparison of constant '25' with boolean expression is always true [-Wbool-compare]
  else if(15<=x<25)
          ~~~~~^~~
foo.cc:16:12: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
  else if(15<=x<25)
          ~~^~~
foo.cc:18:6: warning: statement has no effect [-Wunused-value]
   x*x-200;
   ~~~^~~~
foo.cc:22:6: warning: statement has no effect [-Wunused-value]
   800-15*x;
   ~~~^~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Accepted 1ms 384.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Wrong Answer Read 35, expect 200. 1ms 384.0 KiB
#5 Wrong Answer Read 47, expect 410. 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1068 阶段测验2-1(2 )
语言
C++
递交时间
2021-07-22 10:10:07
评测时间
2021-07-22 10:10:07
评测机
分数
60
总耗时
10ms
峰值内存
384.0 KiB