记录详情

Wrong Answer

/in/foo.cc: In function 'int getArea()':
/in/foo.cc:10:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  if (all[2].x >= all[0].x&&all[2].x < all[1].x
      ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:33:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    if (all[i].y<all[i - 1].y&&all[i].x>all[i-1].x
        ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 3ms 352.0 KiB
#2 Wrong Answer 1ms 384.0 KiB
#3 Wrong Answer 3ms 376.0 KiB
#4 Wrong Answer 4ms 360.0 KiB
#5 Wrong Answer 2ms 372.0 KiB
#6 Wrong Answer 4ms 344.0 KiB
#7 Wrong Answer 1ms 256.0 KiB
#8 Wrong Answer 1ms 340.0 KiB
#9 Wrong Answer 2ms 352.0 KiB
#10 Wrong Answer 2ms 348.0 KiB

信息

递交者
类型
递交
题目
矩形相交部分面积
语言
C++
递交时间
2018-03-30 20:10:53
评测时间
2018-03-30 20:10:53
评测机
分数
10
总耗时
27ms
峰值内存
384.0 KiB