记录详情

Wrong Answer

foo.cc: In function 'void dfs(int, int)':
foo.cc:16:22: warning: iteration 19 invokes undefined behavior [-Waggressive-loop-optimizations]
             fa[u][k] = fa[fa[u][k - 1]][k - 1];
             ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:15:25: note: within this loop
        for(int k = 1; k <= 20; k++)
                       ~~^~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 0, expect 2. 3ms 2.273 MiB
#2 Wrong Answer Read -1, expect 1. 3ms 2.332 MiB
#3 Wrong Answer Read 8, expect 4. 3ms 2.25 MiB
#4 Wrong Answer Read 3, expect 1. 3ms 2.25 MiB
#5 Wrong Answer Read 1, expect 3. 3ms 2.285 MiB
#6 Wrong Answer Read -1, expect 1. 3ms 2.25 MiB
#7 Wrong Answer Read 1, expect 3. 3ms 2.25 MiB
#8 Wrong Answer Read 69065, expect 69067. 685ms 17.234 MiB
#9 Wrong Answer Read 21022, expect 21024. 680ms 17.266 MiB
#10 Wrong Answer Read 26234, expect 26236. 538ms 17.258 MiB

信息

递交者
类型
递交
题目
P1003 点的距离
语言
C++
递交时间
2021-08-03 19:11:22
评测时间
2021-08-03 19:11:22
评测机
分数
0
总耗时
1928ms
峰值内存
17.266 MiB