记录详情

Time Exceeded

foo.cc: In function 'void bfs()':
foo.cc:29:30: warning: iteration 19 invokes undefined behavior [-Waggressive-loop-optimizations]
                     fa[j][k] = fa[fa[j][k - 1]][k - 1];
                     ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:28:34: note: within this loop
                 for(int k = 1; k <= 20; k++)
                                ~~^~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 4, expect 2. 3ms 1.902 MiB
#2 Wrong Answer Read 4, expect 2. 3ms 1.875 MiB
#3 Wrong Answer Read 8, expect 4. 3ms 1.875 MiB
#4 Wrong Answer Read 5, expect 3. 3ms 1.875 MiB
#5 Accepted 3ms 1.875 MiB
#6 Wrong Answer Read 6, expect 0. 3ms 1.875 MiB
#7 Wrong Answer Read 3, expect 1. 3ms 1.875 MiB
#8 Time Exceeded ≥770ms ≥11.121 MiB
#9 Time Exceeded ≥771ms ≥11.148 MiB
#10 Accepted 550ms 11.113 MiB

信息

递交者
类型
递交
题目
P1003 点的距离
语言
C++
递交时间
2021-08-03 19:27:45
评测时间
2021-08-03 19:27:45
评测机
分数
20
总耗时
≥2116ms
峰值内存
≥11.148 MiB