记录详情

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 18ms 39.332 MiB
#2 Accepted 16ms 36.98 MiB
#3 Accepted 17ms 39.559 MiB
#4 Accepted 17ms 38.199 MiB
#5 Accepted 16ms 36.836 MiB
#6 Runtime Error 55ms 58.055 MiB
#7 Runtime Error 55ms 57.645 MiB
#8 Runtime Error 55ms 57.277 MiB
#9 Accepted 205ms 58.039 MiB
#10 Accepted 203ms 57.629 MiB
#11 Accepted 208ms 58.199 MiB
#12 Accepted 205ms 57.57 MiB
#13 Accepted 350ms 57.445 MiB
#14 Accepted 342ms 57.812 MiB
#15 Accepted 353ms 57.57 MiB
#16 Accepted 339ms 57.973 MiB
#17 Accepted 342ms 54.324 MiB
#18 Accepted 337ms 54.215 MiB
#19 Accepted 333ms 54.074 MiB
#20 Runtime Error 172ms 66.656 MiB

信息

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