摘要: #include <bits/stdc++.h> using namespace std; const int INF = 0x7fffff; const int N = 1000; int dp[N],n,m,w,v,s,T,command; int main() { ios::sync_with 阅读全文
posted @ 2021-04-25 22:31 limited_Infinite 阅读(50) 评论(0) 推荐(0) 编辑
摘要: 给定一个大小为 n≤106n≤106 的数组。 有一个大小为 kk 的滑动窗口,它从数组的最左边移动到最右边。 你只能在窗口中看到 kk 个数字。 每次滑动窗口向右移动一个位置。 以下是一个例子: 该数组为 [1 3 -1 -3 5 3 6 7],kk 为 33。 窗口位置最小值最大值 [1 3 - 阅读全文
posted @ 2021-04-25 22:01 limited_Infinite 阅读(71) 评论(0) 推荐(0) 编辑
摘要: #include <bits/stdc++.h> using namespace std; const int INF = 0x7fffff; const int N = 201; int dp[N],n,m,w,v,s; int main() { ios::sync_with_stdio(fals 阅读全文
posted @ 2021-04-25 20:00 limited_Infinite 阅读(30) 评论(0) 推荐(0) 编辑
// //返回顶部 //返回顶部按钮