/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'int getlca(int, int)':
/in/foo.cc:77:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   for(i=0;(1<<i)<=dep[a];i++);i--;
   ^~~
/in/foo.cc:77:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   for(i=0;(1<<i)<=dep[a];i++);i--;
                               ^
/in/foo.cc: In function 'int find(int, int, int)':
/in/foo.cc:88:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   for(i=0;(1<<i)<=dep[a];i++);i--;
   ^~~
/in/foo.cc:88:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   for(i=0;(1<<i)<=dep[a];i++);i--;
                               ^
/in/foo.cc:91:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   for(i=0;(1<<i)<=dep[b];i++);i--; 
   ^~~
/in/foo.cc:91:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   for(i=0;(1<<i)<=dep[b];i++);i--; 
                               ^
# 状态 耗时 内存占用
#1 Accepted 4ms 2.445 MiB
#2 Accepted 5ms 10.328 MiB
#3 Accepted 4ms 8.32 MiB
#4 Accepted 3ms 2.441 MiB
#5 Accepted 8ms 8.449 MiB
#6 Accepted 6ms 2.445 MiB
#7 Accepted 23ms 10.445 MiB
#8 Accepted 39ms 3.203 MiB
#9 Accepted 49ms 3.699 MiB
#10 Runtime Error 42ms 5.699 MiB

信息

递交者
类型
递交
题目
P1070 新年趣事之游戏
语言
C++
递交时间
2017-10-29 21:05:19
评测时间
2017-10-29 21:05:19
评测机
分数
90
总耗时
186ms
峰值内存
10.445 MiB