摘要: 描述 LT最近一直在无限循环薛之谦的歌,简直都中毒了!可是呢…他的歌LT还是不会唱(其实不止他的歌LT不会唱,所有人的歌LT都不会唱…因为LT是标准的音痴)可是LT又很喜欢唱歌(所以LT不仅是音痴还是音痴)…没错,这对于LT的室友来说简直是噩梦… 现在呢,LT有N次操作,每次操作只会有两种可能: I 阅读全文
posted @ 2016-08-22 17:41 惟愿。。。 阅读(179) 评论(0) 推荐(0) 编辑
摘要: Description Yi Sima was one of the best counselors of Cao Cao. He likes to play a funny game himself. It looks like the modern Sudoku, but smaller. Ac 阅读全文
posted @ 2016-08-22 16:49 惟愿。。。 阅读(408) 评论(0) 推荐(0) 编辑
摘要: Problem Description 传说在遥远的地方有一个非常富裕的村落,有一天,村长决定进行制度改革:重新分配房子。这可是一件大事,关系到人民的住房问题啊。村里共有n间房间,刚好有n家老百姓,考虑到每家都要有房住(如果有老百姓没房子住的话,容易引起不安定因素),每家必须分配到一间房子且只能得到 阅读全文
posted @ 2016-08-22 14:26 惟愿。。。 阅读(141) 评论(0) 推荐(0) 编辑
摘要: Description New Year is coming in Line World! In this world, there are n cells numbered by integers from 1 to n, as a 1 × n board. People live in cell 阅读全文
posted @ 2016-08-22 11:16 惟愿。。。 阅读(289) 评论(0) 推荐(0) 编辑