/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:8:31: warning: array subscript is above array bounds [-Warray-bounds]
  for(;x<=n;x+=lowbit(x)) sum[k][x]++;
                          ~~~~~^
/in/foo.cc:8:31: warning: array subscript is above array bounds [-Warray-bounds]
/in/foo.cc:13:33: warning: array subscript is above array bounds [-Warray-bounds]
  for(;x;x-=lowbit(x)) ans+=sum[k][x];
                            ~~~~~^
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 360.0 KiB
#2 Wrong Answer 1ms 228.0 KiB
#3 Wrong Answer 8ms 304.0 KiB
#4 Runtime Error 2ms 300.0 KiB
#5 Runtime Error 1ms 208.0 KiB
#6 Runtime Error 1ms 216.0 KiB
#7 Runtime Error 1ms 300.0 KiB
#8 Runtime Error 1ms 304.0 KiB
#9 Runtime Error 1ms 300.0 KiB
#10 Runtime Error 1ms 216.0 KiB

信息

递交者
类型
递交
题目
P1448 校门外的树
语言
C++
递交时间
2019-01-23 14:19:40
评测时间
2019-01-23 14:19:40
评测机
分数
0
总耗时
24ms
峰值内存
360.0 KiB