/ Vijos /

记录详情

Compile Error

/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 main2()':
/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]); 
                                                   ^~~~~~
/in/foo.cc: Assembler messages:
/in/foo.cc:114: Error: unsupported instruction `mov'
/in/foo.cc:115: Error: invalid instruction suffix for `push'

信息

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