摘要:
ZOJ1633 Big String Time Limit: 2 Seconds Memory Limit: 65536 KB Description We will construct an infinitely long string from two short strings: A = "^ 阅读全文
posted @ 2018-08-02 19:34
caomp
阅读(245)
评论(0)
推荐(0)
摘要:
汉诺塔II Problem Description 经典的汉诺塔问题经常作为一个递归的经典例题存在。可能有人并不知道汉诺塔问题的典故。汉诺塔来源于印度传说的一个故事,上帝创造世界时作了三根金刚石柱子,在一根柱子上从下往上按大小顺序摞着64片黄金圆盘。上帝命令婆罗门把圆盘从下面开始按大小顺序重新摆放在 阅读全文
posted @ 2018-08-02 19:27
caomp
阅读(347)
评论(0)
推荐(0)
摘要:
Uva12034 Race Description Disky and Sooma, two of the biggest mega minds of Bangladesh went to a far country. They ate, coded and wandered around, eve 阅读全文
posted @ 2018-08-02 16:56
caomp
阅读(236)
评论(0)
推荐(0)
摘要:
URAL 1081. Binary Lexicographic Sequence Time limit: 0.5 second Memory limit: 64 MB Description Consider all the sequences with length (0 include incl 阅读全文
posted @ 2018-08-02 16:30
caomp
阅读(97)
评论(0)
推荐(0)
摘要:
POJ1664 放苹果 | Time Limit: 1000MS | | Memory Limit: 10000K | | | | | | Total Submissions: 37195 | | Accepted: 22898 | Description 把M个同样的苹果放在N个同样的盘子里,允许 阅读全文
posted @ 2018-08-02 16:06
caomp
阅读(109)
评论(0)
推荐(0)
摘要:
HDU2050 折线分割平面 (递推) Problem Description 我们看到过很多直线分割平面的题目,今天的这个题目稍微有些变化,我们要求的是n条折线分割平面的最大数目。比如,一条折线可以将平面分成两部分,两条折线最多可以将平面分成7部分,具体如下所示。 Input 输入数据的第一行是一 阅读全文
posted @ 2018-08-02 15:57
caomp
阅读(226)
评论(0)
推荐(0)
摘要:
HDU2899 Strange fuction Problem Description Now, here is a fuction: F(x) = 6 x^7+8 x^6+7 x^3+5 x^2 y x (0 include include include include include incl 阅读全文
posted @ 2018-08-02 09:09
caomp
阅读(168)
评论(0)
推荐(0)
摘要:
CSU1976 搬运工小明 Description 作为老人的小明非常忧伤,因为他马上要被流放到本部去了,住进全左家垅最有历史感的11舍真是一件非常荣幸的事情。 搬行李是个体力活,小明发现自己的行李太多啦,所以他决定去买很多个袋子来装走。到了超市的小明发现,不同大小的袋子居然价格一样???虽然买最大 阅读全文
posted @ 2018-08-02 08:39
caomp
阅读(324)
评论(0)
推荐(0)