记录详情

Wrong Answer

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.875 MiB
#2 Wrong Answer Read 4, expect 2. 3ms 1.895 MiB
#3 Wrong Answer Read 8, expect 4. 3ms 1.875 MiB
#4 Wrong Answer Read 5, expect 3. 3ms 1.957 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 Accepted 698ms 10.363 MiB
#9 Accepted 709ms 10.391 MiB
#10 Accepted 529ms 10.383 MiB

信息

递交者
类型
递交
题目
P1003 点的距离
语言
C++
递交时间
2021-08-03 19:29:06
评测时间
2021-08-03 19:29:06
评测机
分数
40
总耗时
1961ms
峰值内存
10.391 MiB