版本比较
+1 −1增加 1 行删除 1 行
159 行未改动全部展开160161162163164164165166167168101 行未改动全部展开159 行未改动全部展开``` # $\sqrt{n}$ 叉 思路差不多,复杂度为 $O(n\log\log n)$,但跑起来超慢。思路差不多,区间操作 $O(\sqrt n)$,单点操作 $O(\log\log n)$。 ```cpp#include <bits/stdc++.h>using namespace std;101 行未改动全部展开