- 博客(2)
- 收藏
- 关注
原创 B - Prime Ring Problem
A ring is compose of n circles as shown in diagram. Put natural number 1, 2, ..., n into each circle separately, and the sum of numbers in two adjacent circles should be a prime. Note: the number of ...
2018-07-30 18:01:43 175
原创 斐波那契问题
There are another kind of Fibonacci numbers: F(0) = 7, F(1) = 11, F(n) = F(n-1) + F(n-2) (n>=2). Input Input consists of a sequence of lines, each containing an integer n. (n < 1,000,000). ...
2018-07-24 17:11:20 1478
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人