/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:28:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  ans+=abs(a[n+1>>1].x-a[i].x)+abs(a[n+1>>1].y-a[i].y);
             ~^~
/in/foo.cc:28:38: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  ans+=abs(a[n+1>>1].x-a[i].x)+abs(a[n+1>>1].y-a[i].y);
                                     ~^~
# 状态 耗时 内存占用
#1 Wrong Answer 13ms 384.0 KiB
#2 Wrong Answer 4ms 384.0 KiB
#3 Wrong Answer 4ms 264.0 KiB
#4 Wrong Answer 4ms 384.0 KiB
#5 Wrong Answer 3ms 384.0 KiB
#6 Wrong Answer 4ms 384.0 KiB
#7 Wrong Answer 4ms 356.0 KiB
#8 Wrong Answer 4ms 384.0 KiB
#9 Wrong Answer 5ms 384.0 KiB
#10 Wrong Answer 10ms 360.0 KiB

信息

递交者
类型
递交
题目
P1440 士兵
语言
C++
递交时间
2017-12-05 14:37:37
评测时间
2017-12-05 14:37:37
评测机
分数
0
总耗时
58ms
峰值内存
384.0 KiB