/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int LCA(int, int)':
/in/foo.cc:38:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(int i=lim;i>=0;i--)
  ^~~
/in/foo.cc:41:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
   return fa[x][0];
   ^~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:79:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
   if(fa[fx][0] && (dis[x]-dis[fa[fx][0]])*2==tmp)
     ^
# 状态 耗时 内存占用
#1 Wrong Answer 4ms 4.25 MiB
#2 Wrong Answer 7ms 6.352 MiB
#3 Wrong Answer 14ms 6.25 MiB
#4 Wrong Answer 43ms 6.645 MiB
#5 Wrong Answer 51ms 7.016 MiB
#6 Wrong Answer 103ms 12.805 MiB
#7 Wrong Answer 118ms 12.809 MiB
#8 Wrong Answer 111ms 12.75 MiB
#9 Wrong Answer 102ms 12.059 MiB
#10 Wrong Answer 80ms 12.812 MiB

信息

递交者
类型
递交
题目
P1935 不可思议的清晨
语言
C++
递交时间
2017-08-05 11:42:34
评测时间
2017-08-05 11:42:34
评测机
分数
0
总耗时
638ms
峰值内存
12.812 MiB