摘要: Problem DescriptionI like playing game with my friend, although sometimes looks pretty naive. Today I invent a new game called LianLianKan. The game is about playing on a number stack. Now we have a number stack, and we should link and pop the same element pairs from top to bottom. Each time, you ca 阅读全文
posted @ 2013-06-18 08:56 forevermemory 阅读(374) 评论(0) 推荐(0) 编辑
摘要: Problem DescriptionAlice and Bob's game never ends. Today, they introduce a new game. In this game, both of them have N different rectangular cards respectively. Alice wants to use his cards to cover Bob's. The card A can cover the card B if the height of A is not smaller than B and the widt 阅读全文
posted @ 2013-06-18 00:04 forevermemory 阅读(287) 评论(0) 推荐(0) 编辑