- 博客(4)
- 收藏
- 关注
原创 找球号(一) NYOJ - 86
时间限制:3000 ms | 内存限制:65535 KB 难度:3 描述 在某一国度里流行着一种游戏。游戏规则为:在一堆球中,每个球上都有一个整数编号i(0<=i<=100000000),编号可重复,现在说一个随机整数k(0<=k<=100000100),判断编号为k的球是否在这堆球中(存在为”YES”,否则为”NO”),先答出者为胜。现在有一个人想玩玩这个游戏,...
2018-05-23 17:43:53 196
原创 The Triangle
描述 7 3 8 8 1 0 2 7 4 4 4 5 2 6 5 (Figure 1) Figure 1 shows a number triangle. Write a program that calculates the highest sum of numbers passed on a route that starts at the top and ends somewh...
2018-05-23 16:42:19 80
原创 HDU 1009 肥老鼠
Problem Description FatMouse prepared M pounds of cat food, ready to trade with the cats guarding the warehouse containing his favorite food, JavaBean. The warehouse has N rooms. The i-th room conta...
2018-05-23 15:59:50 226
原创 Fibonacci Again HDU - 1021
Problem Description 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 ...
2018-05-02 16:43:14 165
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人