/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:31: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:31: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 12ms 476.0 KiB
#2 Wrong Answer 5ms 348.0 KiB
#3 Wrong Answer 4ms 344.0 KiB
#4 Wrong Answer 4ms 384.0 KiB
#5 Wrong Answer 4ms 352.0 KiB
#6 Wrong Answer 4ms 352.0 KiB
#7 Wrong Answer 4ms 384.0 KiB
#8 Wrong Answer 4ms 348.0 KiB
#9 Wrong Answer 5ms 364.0 KiB
#10 Wrong Answer 10ms 368.0 KiB

信息

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