![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
尺取法
马角的逆袭
很菜的菜鸡
展开
-
Educational Codeforces Round 87 (Rated for Div. 2) B. Ternary String滑动窗口板子题
B. Ternary Stringtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given a string s such that each its character is either 1, 2, or 3. You have to choose the shortest contiguous substring of原创 2020-05-17 18:22:43 · 244 阅读 · 0 评论 -
POJ3061 Subsequence 尺取法
链接:https://ac.nowcoder.com/acm/problem/107658来源:牛客网A sequence of N positive integers (10 < N < 100 000), each of them less than or equal 10000, and a positive integer S (S < 100 000 000) are given. Write a program to find the minimal length of t原创 2020-05-15 18:07:40 · 578 阅读 · 0 评论