摘要: Matt’s friend K.Bro is an ACMer.Yesterday, K.Bro learnt an algorithm: Bubble sort. Bubble sort will compare each pair of adjacent items and swap them 阅读全文
posted @ 2016-10-09 19:52 TenderRun 阅读(204) 评论(0) 推荐(0) 编辑
摘要: As we all know, Matt is an outstanding contestant in ACM-ICPC. Graph problems are his favorite.Once, he came up with a simple algorithm for finding th 阅读全文
posted @ 2016-10-09 19:48 TenderRun 阅读(498) 评论(0) 推荐(0) 编辑
摘要: Matt is a big fan of logo design. Recently he falls in love with logo made up by rings. The following figures are some famous examples you may know.A 阅读全文
posted @ 2016-10-09 19:35 TenderRun 阅读(506) 评论(0) 推荐(0) 编辑
摘要: Matt has N friends. They are playing a game together.Each of Matt’s friends has a magic number. In the game, Matt selects some (could be zero) of his 阅读全文
posted @ 2016-10-09 19:32 TenderRun 阅读(245) 评论(0) 推荐(0) 编辑
摘要: Matt, a famous adventurer who once defeated a pack of dire wolves alone, found a lost court. Matt finds that there are N fluorescent lights which seem 阅读全文
posted @ 2016-10-09 19:27 TenderRun 阅读(315) 评论(0) 推荐(0) 编辑
摘要: Matt loves letter L.A point set P is (a, b)-L if and only if there exists x, y satisfying:P = {(x, y), (x + 1, y), . . . , (x + a, y), (x, y + 1), . . 阅读全文
posted @ 2016-10-09 19:22 TenderRun 阅读(322) 评论(0) 推荐(0) 编辑
摘要: Dire wolves, also known as Dark wolves, are extraordinarily large and powerful wolves. Many, if not all, Dire Wolves appear to originate from Draenor. 阅读全文
posted @ 2016-10-09 19:14 TenderRun 阅读(260) 评论(0) 推荐(0) 编辑
摘要: Matt is playing a naive computer game with his deeply loved pure girl. The playground is a rectangle with walls around. Two balls are put in different 阅读全文
posted @ 2016-10-09 19:06 TenderRun 阅读(1045) 评论(2) 推荐(0) 编辑
摘要: Description In mathematics, the four color theorem, or the four color map theorem, states that, given any separation of a plane into contiguous region 阅读全文
posted @ 2016-10-09 18:42 TenderRun 阅读(203) 评论(0) 推荐(0) 编辑
摘要: Description There 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 finds i 阅读全文
posted @ 2016-10-09 18:39 TenderRun 阅读(181) 评论(0) 推荐(0) 编辑