有没有dalao告诉我一下吸氧优化的原理

P3374 【模板】树状数组 1

@[nothingness](/space/show?uid=31317) O2是个玄学,不要随便用。
by Smile_Cindy @ 2018-09-15 10:38:45


数组开大点。。。
by ROY1994 @ 2018-09-15 10:42:14


@[ROY1994](/space/show?uid=98822) 树状数组一倍空间可以的吧?
by little_gift @ 2018-09-15 10:43:11


……不会是```int update()```的锅吧
by little_gift @ 2018-09-15 10:45:01


有可能QAQ,
by ROY1994 @ 2018-09-15 10:47:04


@[little_gift](/space/show?uid=22132) 跟update没关系,我换了一个变量名,结果还是RE
by nothingness @ 2018-09-15 10:54:56


@[little_gift](/space/show?uid=22132) 大佬能解释一下吗
by nothingness @ 2018-09-15 10:55:26


@[nothingness](/space/show?uid=31317) ```int update()``` 改成 ```void update()``` 试试 ~~不是报warning了么~~
by little_gift @ 2018-09-15 10:57:35


|