/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'int getlca(int, int)':
/in/foo.cc:78:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   for(i=0;(1<<i)<=dep[a];i++);i--;
   ^~~
/in/foo.cc:78: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:89:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   for(i=0;(1<<i)<=dep[a];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[a];i++);i--;
                               ^
/in/foo.cc:92:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   for(i=0;(1<<i)<=dep[b];i++);i--; 
   ^~~
/in/foo.cc:92: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 8ms 8.355 MiB
#2 Wrong Answer 7ms 12.359 MiB
#3 Wrong Answer 8ms 12.375 MiB
#4 Wrong Answer 8ms 12.367 MiB
#5 Wrong Answer 12ms 12.375 MiB
#6 Wrong Answer 14ms 12.34 MiB
#7 Wrong Answer 30ms 12.449 MiB
#8 Wrong Answer 66ms 13.219 MiB
#9 Wrong Answer 84ms 13.484 MiB
#10 Runtime Error 35ms 5.367 MiB

信息

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