/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:16:12: warning: iteration 100 invokes undefined behavior [-Waggressive-loop-optimizations]
    f[i][i] = 0;
    ~~~~~~~~^~~
/in/foo.cc:11:16: note: within this loop
   for(i = 0; i < 1000; i++) {
              ~~^~~~~~
/in/foo.cc:13:17: warning: iteration 100 invokes undefined behavior [-Waggressive-loop-optimizations]
     eages[i][j] = INF;
     ~~~~~~~~~~~~^~~~~
/in/foo.cc:12:17: note: within this loop
    for(j = 0; j < 1000; j++) {
               ~~^~~~~~
# 状态 耗时 内存占用
#1 Runtime Error 2ms 352.0 KiB
#2 Runtime Error 3ms 352.0 KiB
#3 Runtime Error 4ms 384.0 KiB
#4 Runtime Error 4ms 384.0 KiB
#5 Runtime Error 3ms 332.0 KiB
#6 Runtime Error 5ms 360.0 KiB
#7 Runtime Error 3ms 348.0 KiB
#8 Runtime Error 2ms 472.0 KiB
#9 Runtime Error 3ms 384.0 KiB
#10 Runtime Error 4ms 512.0 KiB

信息

递交者
类型
递交
题目
P1046 观光旅游
语言
C++
递交时间
2018-09-12 13:24:13
评测时间
2018-09-12 13:24:13
评测机
分数
0
总耗时
38ms
峰值内存
512.0 KiB