UVA
文章平均质量分 79
--Simone-
这个作者很懒,什么都没留下…
展开
-
Children’s Game(String)
nThere are lots of number games for children. These games are pretty easy to play but not so easy to make. We will discuss about an interesting game here. Each player will be given N positive integer. (S)He can make a big integer by appending those i原创 2014-04-18 22:57:59 · 75 阅读 · 0 评论 -
Astronauts(2 - sat)
ion B: Landing on Callisto, the second largest moon of Jupiter.Mission C: Landing on Titan, the largest moon of Saturn.Your task is to assign a crew for each mission. BSA has trained a number of excellent astronauts; everyone of them can be assigned t原创 2014-05-01 21:21:49 · 145 阅读 · 0 评论 -
Box Game(规律)
oxes and balls, which is played as follows:Alice and Bob moves alternatively, Alice moves first. For each move, the player finds out the boxhaving fewer number of balls inside, and empties that box (the balls inside will be removed forever),and redis原创 2014-07-19 10:18:54 · 88 阅读 · 0 评论 -
Permutation(线段树 + 单点更新)
原创 2014-07-28 09:13:07 · 68 阅读 · 0 评论 -
Jump(递推)
le. Starting with the number 1, we continually go round bypicking out each k-th number and send to a sequence queue until all numbers on the circle are exhausted. Thislinearly arranged numbers in the queue are called Jump(n, k) sequence where 1 n, k.原创 2014-07-28 10:11:40 · 108 阅读 · 0 评论 -
Determine the Shape(暴力)
children violent and destroying the peace of the world. The parents also began to avoid these toys and inclined to educational toys. So they decided to manufacture educational toys. One of these is a electric touch pad on which children can put four point原创 2014-08-13 23:26:13 · 90 阅读 · 0 评论 -
Juice Extractor(树状数组 + dp)
n and gain the bonus from cutting more than two fruits with a single slice. Once a fruit is cut, it breaks into small pieces and cannot be cut any more.After months of training, he becomes pro of this game. Actually, he can cut all the fruits on the scre原创 2014-12-01 21:41:19 · 279 阅读 · 0 评论