Wrong Answer

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

信息

递交者
类型
递交
语言
C++
递交时间
2024-11-01 22:19:06
评测时间
2024-11-01 22:19:06
评测机
分数
75
总耗时
6ms
峰值内存
500.0 KiB