/ Vijos /

记录详情

Runtime Error

/in/foo.cc:1:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment(linker,"/STACK:102400000,102400000")
 
/in/foo.cc: In function 'int Lca(int, int)':
/in/foo.cc:49:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     if (dep[u]<dep[v]) swap(u,v); int delta=(dep[u]-dep[v]); 
     ^~
/in/foo.cc:49:35: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
     if (dep[u]<dep[v]) swap(u,v); int delta=(dep[u]-dep[v]); 
                                   ^~~
/in/foo.cc: In function 'void ins(int&, int, int, int, int)':
/in/foo.cc:58:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     if (rt==0) rt=++tn; lib[rt].v+=V;
     ^~
/in/foo.cc:58:25: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
     if (rt==0) rt=++tn; lib[rt].v+=V;
                         ^~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:104:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
     for (int i=1; i<n; i++) printf("%d ",Ans[i]); printf("%d\n",Ans[n]); 
     ^~~
/in/foo.cc:104:51: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
     for (int i=1; i<n; i++) printf("%d ",Ans[i]); printf("%d\n",Ans[n]); 
                                                   ^~~~~~
# 状态 耗时 内存占用
#1 Accepted 8ms 28.25 MiB
#2 Accepted 8ms 22.25 MiB
#3 Accepted 6ms 26.324 MiB
#4 Accepted 10ms 26.375 MiB
#5 Accepted 10ms 24.25 MiB
#6 Runtime Error 41ms 28.625 MiB
#7 Runtime Error 39ms 26.723 MiB
#8 Runtime Error 41ms 26.543 MiB
#9 Accepted 114ms 43.637 MiB
#10 Accepted 103ms 45.746 MiB
#11 Accepted 94ms 43.641 MiB
#12 Accepted 92ms 43.543 MiB
#13 Accepted 95ms 49.637 MiB
#14 Accepted 102ms 49.547 MiB
#15 Accepted 103ms 45.695 MiB
#16 Accepted 98ms 49.543 MiB
#17 Accepted 139ms 51.246 MiB
#18 Accepted 145ms 49.484 MiB
#19 Accepted 143ms 50.543 MiB
#20 Accepted 409ms 89.5 MiB

信息

递交者
类型
递交
题目
P2004 天天爱跑步
语言
C++
递交时间
2017-08-12 10:50:27
评测时间
2017-08-12 10:50:27
评测机
分数
85
总耗时
1808ms
峰值内存
89.5 MiB