尺取法
Raytheon 1715313189
这个人是条懒狗,什么也没留下...
展开
-
Subsequence POJ - 3061(你绝对能看懂的尺取法!!!)
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 lengt...原创 2019-03-30 13:00:21 · 198 阅读 · 0 评论 -
Sum of Consecutive Prime Numbers POJ - 2739 (做了一下午,来看看孩子的成果吧,哭了)
Some positive integers can be represented by a sum of one or more consecutive prime numbers. How many such representations does a given positive integer have? For example, the integer 53 has two repr...原创 2019-03-30 18:48:13 · 210 阅读 · 0 评论