摘要: s-palindrome s-palindrome Let's call a string "s-palindrome" if it is symmetric about the middle of the string. For example, the string "oHo" is "s-pa 阅读全文
posted @ 2016-07-14 01:35 mxzf0213 阅读(257) 评论(0) 推荐(0) 编辑
摘要: Swaps in Permutation Swaps in Permutation You are given a permutation of the numbers 1, 2, ..., n and m pairs of positions (aj, bj). At each step you 阅读全文
posted @ 2016-07-14 01:32 mxzf0213 阅读(301) 评论(0) 推荐(0) 编辑
摘要: Tree of Life (easy) Tree of Life (easy) Heidi has finally found the mythical Tree of Life – a legendary combinatorial structure which is said to conta 阅读全文
posted @ 2016-07-13 23:59 mxzf0213 阅读(227) 评论(0) 推荐(0) 编辑
摘要: The Wall (medium) The Wall (medium) Heidi the Cow is aghast: cracks in the northern Wall? Zombies gathering outside, forming groups, preparing their a 阅读全文
posted @ 2016-07-13 23:56 mxzf0213 阅读(199) 评论(0) 推荐(0) 编辑
摘要: Brain Network (medium) Brain Network (medium) Further research on zombie thought processes yielded interesting results. As we know from the previous p 阅读全文
posted @ 2016-07-13 23:52 mxzf0213 阅读(288) 评论(0) 推荐(0) 编辑
摘要: Brain Network (easy) Brain Network (easy) One particularly well-known fact about zombies is that they move and think terribly slowly. While we still d 阅读全文
posted @ 2016-07-13 23:46 mxzf0213 阅读(476) 评论(0) 推荐(0) 编辑
摘要: Recover Polygon (easy) Recover Polygon (easy) The zombies are gathering in their secret lair! Heidi will strike hard to destroy them once and for all. 阅读全文
posted @ 2016-07-13 23:44 mxzf0213 阅读(333) 评论(0) 推荐(0) 编辑
摘要: Friends and Subsequences Friends and Subsequences Mike and !Mike are old childhood rivals, they are opposite in everything they do, except programming 阅读全文
posted @ 2016-07-13 11:04 mxzf0213 阅读(192) 评论(0) 推荐(0) 编辑
摘要: Dice Possibility Dice Possibility 时间限制:10000ms 单点时限:1000ms 内存限制:256MB 描述 What is possibility of rolling N dice and the sum of the numbers equals to M? 阅读全文
posted @ 2016-07-13 10:59 mxzf0213 阅读(227) 评论(0) 推荐(0) 编辑
摘要: A Game A Game 时间限制:10000ms 单点时限:1000ms 内存限制:256MB 描述 Little Hi and Little Ho are playing a game. There is an integer array in front of them. They take 阅读全文
posted @ 2016-07-13 10:57 mxzf0213 阅读(346) 评论(0) 推荐(0) 编辑