Poj-3061 Subsequence(经典尺取)
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 the subsequence of consecutive elements of the sequenc
原创
2021-02-28 16:57:05 ·
282 阅读 ·
1 评论