摘要: acwing 154滑动窗口,单调队列q 存的是下标,真正的值需要再套一个a数组 1 #include<iostream> 2 using namespace std; 3 4 const int N = 1e6 + 10; 5 6 int n,k; 7 int a[N],q[N]; //q代表单调 阅读全文
posted @ 2023-11-13 17:08 rw156 阅读(15) 评论(0) 推荐(0)