与‘其他-追逐法’有关的日志

poj2739

maksyuki 发表于 oj 分类,标签:
0
poj2739

Sum of Consecutive Prime Numbers

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 representations 5 + >>继续阅读

poj3320

maksyuki 发表于 oj 分类,标签:
0
poj3320

Jessica's Reading Problem

Jessica's a very lovely girl wooed by lots of boys. Recently she has a problem. The final exam is coming, yet she has spent little time on it. If she wants to pass it, she has to master all ideas included in a very thick t >>继续阅读

poj3061

maksyuki 发表于 oj 分类,标签:
0
poj3061

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 ele >>继续阅读