Battle Ships 时间限制(普通/Java):1000MS/3000MS 运行内存限制:65536KByte 描述 Battle Ships is a new game which is similar toStar Craft. In this game, the enemy builds a defense tower, which has L longe
Egg Problem 时间限制(普通/Java):1000MS/3000MS 运行内存限制:65536KByte 描述 There is a very interesting problem described as follows: You are given two eggs. You have access to a 100-storey building.
Juggler 时间限制(普通/Java):1000MS/3000MS 运行内存限制:65536KByte 描述 As part of my magical juggling act, I am currently juggling a number of objects in a circular path with one hand. However, as
Repeatless Numbe 时间限制(普通/Java):1000MS/3000MS 运行内存限制:65536KByte 描述 Arepeatless number is a positive integer containing no repeated digits. For instance, the first 25 repeatless numbers ar
Watermelon Full of Water 时间限制(普通/Java):3000MS/9000MS 运行内存限制:65536KByte 描述 Watermelon is very popular in the hot summer. Students in ZJU-ICPC Team also love watermelon very much and they
An Easy Puz 时间限制(普通/Java):1000MS/3000MS 运行内存限制:65536KByte 描述 Wddpdh find an interesting mini-game in the BBS of WHU, called “An easy PUZ”. It’s a 6 * 6 chess board and each cell has a nu
Deal with numbers 时间限制(普通/Java):10000MS/30000MS 运行内存限制:65536KByte 描述 There are n numbers with the corresponding NO.1-n, and the value of the i-th number is xi. Define three operations:
描述 Every time it rains on Farmer John's fields, a pond forms over Bessie's favorite clover patch. This means that the clover is covered by water for awhile and takes quite a long time to regrow. Thus
描述 Cows are such finicky eaters. Each cow has a preference for certain foods and drinks, and she will consume no others. Farmer John has cooked fabulous meals for his cows, but he forgot to check
描述 Running a taxi station is not all that simple. Apart from the obvious demand for a centralised coordination of the cabs in order to pick up the customers calling to get a cab as soon as possible,
描述 The gopher family, having averted the canine threat, must face a new predator. The are n gophers and m gopher holes, each at distinct (x, y) coordinates. A hawk arrives and if a gopher does not r
描述 The latest reality show has hit the TV: ``Cat vs. Dog''. In this show, a bunch of cats and dogs compete for the very prestigious Best Pet Ever title. In each episode, the cats and dogs get to s
棋盘游戏 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 2535 Accepted Submission(s): 1476 Problem Description 小希和Gardon在玩一个游戏:对一个N*M的棋盘
描述 Sudoku is a very simple task. A square table with 9 rows and 9 columns is divided to 9 smaller squares 3x3 as shown on the Figure. In some of the cells are written decimal digits from 1 to 9. The