上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 15 下一页
摘要: D We Love ABC 题目 Problem Statement The ABC number of a string T is the number of triples of integers ( i , j , k ) that satisfy all of the following c 阅读全文
posted @ 2018-08-06 22:02 caomp 阅读(210) 评论(0) 推荐(0)
摘要: C All Green 题目 Problem Statement A programming competition site AtCode provides algorithmic problems. Each problem is allocated a score based on its d 阅读全文
posted @ 2018-08-06 21:50 caomp 阅读(203) 评论(0) 推荐(0)
摘要: UvaLive 3902 Network Description Consider a tree network with n nodes where the internal nodes correspond to servers and the terminal nodes correspond 阅读全文
posted @ 2018-08-03 17:23 caomp 阅读(306) 评论(0) 推荐(1)
摘要: 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)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 15 下一页