记录详情

Runtime Error

/in/foo.cc:1:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment(linker, "/STACK:102400000,102400000")
 
/in/foo.cc: In function 'void dfs1(int, int)':
/in/foo.cc:15: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:31: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:55: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:57: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 37.883 MiB
#2 Accepted 16ms 37.93 MiB
#3 Accepted 15ms 36.98 MiB
#4 Accepted 16ms 37.645 MiB
#5 Accepted 16ms 37.988 MiB
#6 Runtime Error 55ms 58.426 MiB
#7 Runtime Error 57ms 56.941 MiB
#8 Runtime Error 55ms 57.621 MiB
#9 Accepted 205ms 57.039 MiB
#10 Accepted 203ms 56.977 MiB
#11 Accepted 202ms 58.137 MiB
#12 Accepted 207ms 58.539 MiB
#13 Accepted 344ms 57.094 MiB
#14 Accepted 351ms 57.07 MiB
#15 Accepted 339ms 57.562 MiB
#16 Accepted 341ms 57.32 MiB
#17 Accepted 331ms 55.441 MiB
#18 Accepted 361ms 55.199 MiB
#19 Accepted 384ms 52.691 MiB
#20 Runtime Error 193ms 66.617 MiB

信息

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