DescriptionAssuming a finite – radius “ball” which is on an N dimension is cut with a “knife” of N-1 dimension. How many pieces will the “ball” be cut...
分类:
其他好文 时间:
2015-06-12 13:07:58
阅读次数:
128
初期:一.基本算法: (1)枚举. (poj1753,poj2965) (2)贪心(poj1328,poj2109,poj2586) (3)递归和分治法. (4)递推. (5)构造法.(poj3295) (6)模拟法.(poj1068,poj2632,poj1573,poj2993,po...
分类:
其他好文 时间:
2015-06-11 16:35:44
阅读次数:
139
DescriptionPog and Szh are playing games.There is a sequence with $n$ numbers, Pog will choose a number A from the sequence. Szh will choose an anothe...
分类:
编程语言 时间:
2015-06-09 19:46:19
阅读次数:
128
DescriptionFat brother and Maze are playing a kind of special (hentai) game in the playground. (Maybe it’s the OOXX game which decrypted in the last p...
分类:
编程语言 时间:
2015-06-01 22:20:44
阅读次数:
236
DescriptionDoctor Ghee is teaching Kia how to calculate the sum of two integers. But Kia is so careless and alway forget to carry a number when the su...
分类:
编程语言 时间:
2015-05-30 22:36:37
阅读次数:
204
DescriptionGiven an integer N, your task is to judge whether there exist N points in the plane such that satisfy the following conditions:1. The dista...
分类:
其他好文 时间:
2015-05-30 22:28:15
阅读次数:
121
DescriptionThere are N points in total. Every point moves in certain direction and certain speed. We want to know at what time that the largest distan...
分类:
其他好文 时间:
2015-05-27 22:32:52
阅读次数:
199
Description Three wizards are doing a experiment. To avoid from bothering, a special magic is set around them. The magic forms a circle, which covers ...
分类:
其他好文 时间:
2015-05-24 23:17:20
阅读次数:
202
Description Friend number are defined recursively as follows. (1) numbers 1 and 2 are friend number; (2) if a and b are friend numbers, so is ab...
分类:
其他好文 时间:
2015-05-24 23:11:08
阅读次数:
228
Description Ray 在数学课上听老师说,任何小数都能表示成分数的形式,他开始了化了起来,很快他就完成了,但他又想到一个问题,如何把一个循环小数化成分数呢? 请你写一个程序不但可以将普通小数化成最简分数,也可以把循环小数化成最简分数。 Input ...
分类:
其他好文 时间:
2015-05-24 23:09:51
阅读次数:
168