随笔分类 -  acm

各种题目的题解
摘要:DescriptionNchildren are playing Rochambeau (scissors-rock-cloth) game with you. One of them is the judge. The rest children are divided into three gr... 阅读全文
posted @ 2014-07-12 20:02 一个大叔 阅读(217) 评论(0) 推荐(0)
摘要:DescriptionThere are so many different religions in the world today that it is difficult to keep track of them all. You are interested in finding out ... 阅读全文
posted @ 2014-07-11 16:02 一个大叔 阅读(200) 评论(0) 推荐(0)
摘要:DescriptionA data stream is a real-time, continuous, ordered sequence of items. Some examples include sensor data, Internet traffic, financial tickers... 阅读全文
posted @ 2014-07-10 16:28 一个大叔 阅读(446) 评论(0) 推荐(0)
摘要:Though Rujia Liu usually sets hard problems for contests (for example, regional contests like Xi'an 2006, Beijing 2007 and Wuhan 2009, or UVa OJ conte... 阅读全文
posted @ 2014-07-10 15:02 一个大叔 阅读(173) 评论(0) 推荐(0)
摘要:DescriptionYYF is a couragous scout. Now he is on a dangerous mission which is to penetrate into the enemy's base. After overcoming a series difficult... 阅读全文
posted @ 2014-05-25 12:44 一个大叔 阅读(190) 评论(0) 推荐(0)
摘要:Problem DescriptionIn your childhood, do you crazy for collecting the beautiful cards in the snacks? They said that, for example, if you collect all t... 阅读全文
posted @ 2014-05-25 12:36 一个大叔 阅读(169) 评论(0) 推荐(0)
摘要:The 11th Zhejiang Provincial Collegiate Programming Contest is coming! As a problem setter, Edward is going to arrange the order of the problems. As w... 阅读全文
posted @ 2014-05-18 14:37 一个大叔 阅读(612) 评论(0) 推荐(0)
摘要:As we all know,Coach Gaois a talented chef, because he is able to cookMdishes in the same time. Tonight he is going to have a hearty dinner with his g... 阅读全文
posted @ 2014-05-18 14:23 一个大叔 阅读(319) 评论(0) 推荐(0)
摘要:It's Saturday today, what day is it after 11+ 22+ 33+ ... +NNdays?InputThere are multiple test cases. The first line of input contains an integerTindi... 阅读全文
posted @ 2014-05-18 14:12 一个大叔 阅读(440) 评论(0) 推荐(0)