摘要:
我的洛谷主页:decentz (发的模板方便自己用) 阅读全文
posted @ 2026-08-08 11:49
decentz
阅读(2)
评论(0)
推荐(0)
摘要:
题目 单调队列(滑动窗口)模板 时间复杂度:\(O(n)\) #include<bits/stdc++.h> using namespace std; const int N=1e6+5; int n,k,a[N],ans1[N],ans2[N]; int q[N],hd,tl;//q[N]存的是位 阅读全文
posted @ 2026-08-08 11:44
decentz
阅读(1)
评论(0)
推荐(0)

浙公网安备 33010602011771号