/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'int getlca(int, int)':
/in/foo.cc:75:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   for(i=0;(1<<i)<=dep[a];i++);i--;
   ^~~
/in/foo.cc:75: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:86:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   for(i=0;(1<<i)<=dep[a];i++);i--;
   ^~~
/in/foo.cc:86: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:89:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   for(i=0;(1<<i)<=dep[b];i++);i--; 
   ^~~
/in/foo.cc:89: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 Wrong Answer 5ms 8.34 MiB
#2 Wrong Answer 9ms 12.355 MiB
#3 Wrong Answer 7ms 8.359 MiB
#4 Wrong Answer 9ms 12.352 MiB
#5 Wrong Answer 8ms 10.332 MiB
#6 Wrong Answer 12ms 8.613 MiB
#7 Wrong Answer 31ms 10.488 MiB
#8 Wrong Answer 63ms 12.984 MiB
#9 Wrong Answer 79ms 11.102 MiB
#10 Runtime Error 32ms 3.859 MiB

信息

递交者
类型
递交
题目
P1070 新年趣事之游戏
语言
C++
递交时间
2017-10-29 20:46:47
评测时间
2017-10-29 20:46:47
评测机
分数
0
总耗时
260ms
峰值内存
12.984 MiB