/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:70:16: warning: iteration 105 invokes undefined behavior [-Waggressive-loop-optimizations]
   if(dp[1][1][i])minx = min(minx,abs(p - i));
      ~~~~~~~~~~^
/in/foo.cc:69:18: note: within this loop
  for(int i = 0;i <= MAXN;i ++){
                ~~^~~~~~~
# 状态 耗时 内存占用
#1 Accepted 4ms 496.0 KiB
#2 Accepted 4ms 484.0 KiB
#3 Wrong Answer 3ms 352.0 KiB
#4 Wrong Answer 4ms 768.0 KiB
#5 Wrong Answer 4ms 620.0 KiB
#6 Wrong Answer 3ms 468.0 KiB
#7 Accepted 3ms 384.0 KiB
#8 Wrong Answer 4ms 620.0 KiB
#9 Accepted 3ms 360.0 KiB
#10 Wrong Answer 4ms 768.0 KiB

信息

递交者
类型
递交
题目
P1280 The Moment-遇见
语言
C++
递交时间
2017-10-23 14:50:59
评测时间
2017-10-23 14:50:59
评测机
分数
40
总耗时
40ms
峰值内存
768.0 KiB