/ CCF-Noip /

记录详情

Runtime Error

/in/foo.cc: In member function 'const void Round_Square_Tree::tarjan(int, int)':
/in/foo.cc:42:20: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
                 if ((v=g.to[i])^fa)
                    ^
/in/foo.cc:41:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
             for (int v,i=g.head[u];i;i=g.next[i])
             ^~~
/in/foo.cc:53:17: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
                 if (size>1&&u==root)iscut[u]=1;
                 ^~
/in/foo.cc: In member function 'const void Bridge_Tree::tarjan(int, int)':
/in/foo.cc:113:20: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
                 if ((v=g.to[i])^fa)
                    ^
/in/foo.cc:116:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
             if (low[u]^dfn[u])return;tot++;
             ^~
/in/foo.cc:116:38: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
             if (low[u]^dfn[u])return;tot++;
                                      ^~~
# 状态 耗时 内存占用
#1 Accepted 3ms 328.0 KiB
#2 Accepted 1ms 328.0 KiB
#3 Accepted 29ms 3.227 MiB
#4 Accepted 52ms 4.918 MiB
#5 Accepted 91ms 6.434 MiB
#6 Accepted 136ms 9.469 MiB
#7 Runtime Error 32ms 14.328 MiB
#8 Runtime Error 36ms 16.824 MiB
#9 Accepted 377ms 14.926 MiB
#10 Accepted 406ms 16.051 MiB

信息

递交者
类型
递交
题目
P1003 Policija
语言
C++
递交时间
2019-04-13 10:30:31
评测时间
2019-04-13 10:37:28
评测机
分数
80
总耗时
1167ms
峰值内存
16.824 MiB