记录详情

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. 5ms 4.203 MiB
#2 Wrong Answer Read 4, expect 2. 4ms 4.125 MiB
#3 Wrong Answer Read 8, expect 4. 4ms 4.133 MiB
#4 Wrong Answer Read 5, expect 3. 4ms 4.129 MiB
#5 Accepted 5ms 4.168 MiB
#6 Wrong Answer Read 6, expect 0. 4ms 4.191 MiB
#7 Wrong Answer Read 3, expect 1. 5ms 4.125 MiB
#8 Accepted 640ms 13.434 MiB
#9 Accepted 629ms 13.457 MiB
#10 Accepted 468ms 13.406 MiB

信息

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