Loading...
转自 OI-Wiki namespace IO { const int MAXSIZE = 1 << 20; char buf[MAXSIZE...
\LaTeX
单点修改,区间查询(求和) 单点更新,前缀最值 class TreeArray { public: static const int N = :...
c++ STL版本。 int getrk(int x) { return lower_bound(b.begin(), b.end(), x) -...
Test