Wrong Answer

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

信息

递交者
类型
递交
题目
P2347 1.4.18:点和正方形的关系
语言
C++
递交时间
2024-07-20 20:06:16
评测时间
2024-07-20 20:06:16
评测机
分数
60
总耗时
9ms
峰值内存
376.0 KiB