记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:32:45: warning: iteration 300007 invokes undefined behavior [-Waggressive-loop-optimizations]
         pre_sumX[i]=pre_sumX[i-1]+bucket_X[i];
                                   ~~~~~~~~~~^
/in/foo.cc:30:19: note: within this loop
     for(int i=1; i<=MAX_M; ++i)
                  ~^~~~~~~
# 状态 耗时 内存占用
#1 Accepted 4ms 2.695 MiB
#2 Accepted 4ms 2.766 MiB
#3 Accepted 19ms 3.0 MiB
#4 Accepted 37ms 3.246 MiB
#5 Wrong Answer 31ms 3.422 MiB
#6 Accepted 4ms 3.602 MiB
#7 Runtime Error 1ms 496.0 KiB
#8 Runtime Error 2ms 556.0 KiB
#9 Runtime Error 7ms 592.0 KiB
#10 Runtime Error 7ms 460.0 KiB

信息

递交者
类型
递交
题目
距离之和
题目数据
下载
语言
C++
递交时间
2023-05-27 11:23:28
评测时间
2023-05-27 11:23:28
评测机
分数
50
总耗时
122ms
峰值内存
3.602 MiB