/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'void Link_Cut_Tree::Push_All(int)':
/in/foo.cc:73:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if (!is_root(o)) Push_All(fa[o]); Push_Down(o);
   ^~
/in/foo.cc:73:37: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
   if (!is_root(o)) Push_All(fa[o]); Push_Down(o);
                                     ^~~~~~~~~
/in/foo.cc: In function 'int Link_Cut_Tree::Get_Root(int)':
/in/foo.cc:83:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
   while (ls(o)) Push_Down(o), o = ls(o); return o;
   ^~~~~
/in/foo.cc:83:42: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
   while (ls(o)) Push_Down(o), o = ls(o); return o;
                                          ^~~~~~
/in/foo.cc: In function 'void Dfs_Init(int, int)':
/in/foo.cc:109:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  if (b[to] * 2 > b[u]) son[u] = Link_Cut_Tree :: rs(u) = to; ReCalc(u);
  ^~
/in/foo.cc:109:62: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
  if (b[to] * 2 > b[u]) son[u] = Link_Cut_Tree :: rs(u) = to; ReCalc(u);
                                                              ^~~~~~
# 状态 耗时 内存占用
#1 Accepted 7ms 10.145 MiB
#2 Runtime Error 44ms 24.383 MiB
#3 Runtime Error 45ms 24.363 MiB
#4 Accepted 131ms 24.309 MiB
#5 Accepted 135ms 24.168 MiB
#6 Accepted 276ms 26.137 MiB
#7 Accepted 282ms 25.203 MiB
#8 Accepted 317ms 25.457 MiB
#9 Runtime Error 341ms 45.32 MiB
#10 Runtime Error 294ms 45.176 MiB

信息

递交者
类型
递交
题目
P2043 历史
语言
C++
递交时间
2019-04-21 19:07:58
评测时间
2019-04-21 19:07:58
评测机
分数
60
总耗时
1877ms
峰值内存
45.32 MiB