/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'void adds(int, int)':
/in/foo.cc:11:7: warning: statement has no effect [-Wunused-value]
  for(x;x<=n;x+=x&(-x))c[x]+=y;
       ^
/in/foo.cc: In function 'int ask(int)':
/in/foo.cc:15:7: warning: statement has no effect [-Wunused-value]
  for(x;x;x-=x&(-x))ans+=c[x];
       ^
# 状态 耗时 内存占用
#1 Accepted 14ms 364.0 KiB
#2 Accepted 14ms 360.0 KiB
#3 Accepted 14ms 368.0 KiB
#4 Wrong Answer 113ms 2.379 MiB
#5 Wrong Answer 113ms 488.0 KiB
#6 Wrong Answer 115ms 2.469 MiB
#7 Wrong Answer 106ms 484.0 KiB
#8 Wrong Answer 114ms 2.48 MiB
#9 Wrong Answer 106ms 2.492 MiB
#10 Wrong Answer 70ms 452.0 KiB

信息

递交者
类型
递交
题目
P1320 清点人数
语言
C++
递交时间
2019-10-31 21:49:16
评测时间
2019-10-31 21:49:16
评测机
分数
30
总耗时
785ms
峰值内存
2.492 MiB