/ XMU_ACM /

记录详情

Accepted

/in/foo.cc:4:0: warning: ignoring #pragma optimize  [-Wunknown-pragmas]
 #pragma optimize (2)
 
/in/foo.cc: In function 'void add(int, int)':
/in/foo.cc:24:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(int i = p; i <= n; i += lowbit(i)) bit[i] += x; return;
  ^~~
/in/foo.cc:24:54: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
  for(int i = p; i <= n; i += lowbit(i)) bit[i] += x; return;
                                                      ^~~~~~
# 状态 耗时 内存占用
#1 Accepted 156ms 23.09 MiB

信息

递交者
类型
递交
题目
P1051 小丑的炸弹
语言
C++
递交时间
2019-08-10 19:01:47
评测时间
2019-08-10 19:01:47
评测机
分数
100
总耗时
156ms
峰值内存
23.09 MiB