• 2024-10-02[JSOI2008] 最大数 (ST表)
    算法观察到插入都在末尾进行考虑逆向ST表代码#include<bits/stdc++.h>constintMAXSIZE=2e5+20;#defineintlonglongintTime,D;intt=0;/*反向st表方便处理末尾的插入*/classreverse_ST{private:intMax[MAXSIZE][20];public: