摘要: Problem DescriptionToday is Ignatius' birthday. He invites a lot of friends. Now it's dinner time. Ignatius wants to know how many tables he needs at ... 阅读全文
posted @ 2014-07-27 17:53 Iridescent_zzy 阅读(133) 评论(0) 推荐(0)
摘要: DescriptionYou've decided to carry out a survey in the theory of prime numbers. Let us remind you that a prime number is a positive integer that has e... 阅读全文
posted @ 2014-07-27 16:58 Iridescent_zzy 阅读(350) 评论(0) 推荐(0)
摘要: Problem DescriptionThere is a town with N citizens. It is known that some pairs of people are friends. According to the famous saying that “The friend... 阅读全文
posted @ 2014-07-27 15:46 Iridescent_zzy 阅读(119) 评论(0) 推荐(0)
摘要: Problem DescriptionFor each prefix with length P of a given string S,ifS[i]=S[i+P] for i in [0..SIZE(S)-p-1],then the prefix is a “period” of S. We wa... 阅读全文
posted @ 2014-07-27 15:30 Iridescent_zzy 阅读(254) 评论(0) 推荐(0)
摘要: DescriptionBeing a programmer, you like arrays a lot. For your birthday, your friends have given you an arrayaconsisting ofndistinctintegers.Unfortuna... 阅读全文
posted @ 2014-07-27 15:24 Iridescent_zzy 阅读(330) 评论(0) 推荐(0)
摘要: DescriptionAfter winning gold and silver in IOI 2014, Akshat and Malvika want to have some fun. Now they are playing a game on a grid made ofnhorizont... 阅读全文
posted @ 2014-07-27 15:16 Iridescent_zzy 阅读(372) 评论(0) 推荐(0)
摘要: DescriptionBessie has gone to the mall's jewelry store and spies a charm bracelet. Of course, she'd like to fill it with the best charms possible from... 阅读全文
posted @ 2014-07-25 15:20 Iridescent_zzy 阅读(117) 评论(0) 推荐(0)
摘要: DescriptionYou are given two sequences of integer numbers. Write a program to determine their common increasing subsequence of maximal possible length... 阅读全文
posted @ 2014-07-25 11:03 Iridescent_zzy 阅读(182) 评论(0) 推荐(0)
摘要: DescriptionA subsequence of a given sequence is the given sequence with some elements (possible none) left out. Given a sequence X = another sequence... 阅读全文
posted @ 2014-07-24 16:36 Iridescent_zzy 阅读(125) 评论(0) 推荐(0)
摘要: Problem DescriptionNowadays, a kind of chess game called “Super Jumping! Jumping! Jumping!” is very popular in HDU. Maybe you are a good boy, and know... 阅读全文
posted @ 2014-07-24 15:02 Iridescent_zzy 阅读(128) 评论(0) 推荐(0)