记录详情

Runtime Error

/in/foo.cc: In function 'void dfs1(int, int)':
/in/foo.cc:14:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (int i = 0; i < adj[u].size(); ++i) {
                   ~~^~~~~~~~~~~~~~~
/in/foo.cc: In function 'void dfs2(int, int)':
/in/foo.cc:30:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (int i = 0; i < adj[u].size(); ++i) {
                   ~~^~~~~~~~~~~~~~~
/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 21ms 49.73 MiB
#2 Accepted 20ms 49.305 MiB
#3 Accepted 20ms 50.129 MiB
#4 Accepted 21ms 49.789 MiB
#5 Accepted 21ms 50.441 MiB
#6 Runtime Error 59ms 71.719 MiB
#7 Runtime Error 104ms 65.645 MiB
#8 Runtime Error 60ms 72.059 MiB
#9 Accepted 211ms 66.191 MiB
#10 Accepted 210ms 72.395 MiB
#11 Accepted 214ms 66.07 MiB
#12 Accepted 210ms 71.828 MiB
#13 Accepted 351ms 65.699 MiB
#14 Accepted 340ms 72.688 MiB
#15 Accepted 349ms 66.82 MiB
#16 Accepted 352ms 72.863 MiB
#17 Accepted 327ms 62.574 MiB
#18 Accepted 326ms 69.617 MiB
#19 Accepted 344ms 62.324 MiB
#20 Runtime Error 173ms 79.57 MiB

信息

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