摘要: RMQ Range maxium/minum Query ST 时间复杂度: O(nlogn) 空间复杂度: O(nlogn) maxlen = lg2[maxn]; int lg2[maxn], st[maxn][maxlen]; void getlg2(); void getst(int n){ 阅读全文
posted @ 2021-07-17 21:51 咕咕坤 阅读(38) 评论(0) 推荐(0) 编辑