/ SUOI /

记录详情

Memory Exceeded

/in/foo.cc: In function 'int lca(int, int)':
/in/foo.cc:59:28: warning: array subscript has type 'char' [-Wchar-subscripts]
   x=fa[x][lg[dep[x]-dep[y]]];
                            ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:71:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if(i>=k) j++,k<<=1;lg[i]=j;
   ^~
/in/foo.cc:71:22: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
   if(i>=k) j++,k<<=1;lg[i]=j;
                      ^~
# 状态 耗时 内存占用
#1 Accepted 11ms 16.367 MiB
#2 Accepted 17ms 16.344 MiB
#3 Accepted 10ms 14.352 MiB
#4 Accepted 12ms 16.336 MiB
#5 Accepted 11ms 14.363 MiB
#6 Accepted 13ms 14.348 MiB
#7 Accepted 20ms 14.25 MiB
#8 Accepted 15ms 16.25 MiB
#9 Accepted 13ms 14.363 MiB
#10 Accepted 12ms 16.352 MiB
#11 Accepted 14ms 16.355 MiB
#12 Accepted 11ms 14.355 MiB
#13 Accepted 21ms 16.25 MiB
#14 Accepted 20ms 16.383 MiB
#15 Accepted 19ms 14.305 MiB
#16 Accepted 21ms 16.336 MiB
#17 Accepted 154ms 30.93 MiB
#18 Accepted 135ms 31.113 MiB
#19 Accepted 538ms 54.426 MiB
#20 Memory Exceeded ≥1172ms ≥128.0 MiB

信息

递交者
类型
递交
题目
#63 树与路径
语言
C++
递交时间
2018-09-17 15:33:11
评测时间
2018-09-17 15:33:11
评测机
分数
95
总耗时
≥2250ms
峰值内存
≥128.0 MiB