记录详情

Runtime Error

/in/foo.cc: In function 'int get_anc(int, int)':
/in/foo.cc:54:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         return depth[x] - depth[top[x]] - k >= down[top[x]].size() ? 0 : down[top[x]][depth[x] - depth[top[x]] - k];
                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:56:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         return k - depth[x] + depth[top[x]] >= up[top[x]].size() ? 0 : up[top[x]][k - depth[x] + depth[top[x]]];
                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 16ms 36.422 MiB
#2 Accepted 16ms 37.625 MiB
#3 Accepted 16ms 38.109 MiB
#4 Accepted 16ms 37.73 MiB
#5 Accepted 16ms 39.195 MiB
#6 Runtime Error 54ms 54.957 MiB
#7 Runtime Error 53ms 55.25 MiB
#8 Runtime Error 54ms 55.047 MiB
#9 Accepted 208ms 57.812 MiB
#10 Accepted 208ms 58.113 MiB
#11 Accepted 206ms 58.133 MiB
#12 Accepted 209ms 58.363 MiB
#13 Accepted 341ms 57.18 MiB
#14 Accepted 343ms 57.645 MiB
#15 Accepted 338ms 57.824 MiB
#16 Accepted 342ms 58.496 MiB
#17 Accepted 325ms 54.316 MiB
#18 Accepted 321ms 55.09 MiB
#19 Accepted 317ms 54.316 MiB
#20 Runtime Error 166ms 66.637 MiB

信息

递交者
类型
递交
题目
lxhgww的奇思妙想
语言
C++
递交时间
2019-03-11 18:46:24
评测时间
2019-03-11 18:46:24
评测机
分数
80
总耗时
3576ms
峰值内存
66.637 MiB