摘要: Problem DescriptionMatt has N friends. They are playing a game together.Each of Matt’s friends has a magic number. In the game, Matt selects some (cou... 阅读全文
posted @ 2015-09-22 15:15 pb2016 阅读(187) 评论(0) 推荐(0) 编辑
摘要: Problem DescriptionMatt’s friend K.Bro is an ACMer.Yesterday, K.Bro learnt an algorithm: Bubble sort. Bubble sort will compare each pair of adjacent i... 阅读全文
posted @ 2015-09-22 15:03 pb2016 阅读(236) 评论(0) 推荐(0) 编辑
摘要: Problem DescriptionThere is a curious man called Matt.One day, Matt's best friend Ted is wandering on the non-negative half of the number line. Matt f... 阅读全文
posted @ 2015-09-22 14:33 pb2016 阅读(250) 评论(0) 推荐(0) 编辑