![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
滑动窗口(尺取法)
Grit_ICPC
Dielts
展开
-
UVa 11572(滑动窗口+set)
题目大意是让找出没有重复数字的最长序列的长度。set+滑动窗口法#include #include #include #include #include #include #include #include #include #include #include using namespace std;int a[1100000];int main(){原创 2015-08-07 10:12:14 · 592 阅读 · 0 评论 -
hdu 5056 Boring count (窗口滑动)
You are given a string S consisting of lowercase letters, and your task is counting the number of substring that the number of each lowercase letter in the substring is no more than K. Input原创 2015-08-23 17:46:59 · 726 阅读 · 0 评论