摘要: 这个题和求最长递增序列的题类似,为了能输出一组可行的数据,我还用了一点儿链表的知识。DescriptionPeter decided to wish happy birthday to his friend from Australia and send him a card. To make his present more mysterious, he decided to make achain. Chain here is such a sequence of envelopesA = {a1, a2, ..., an}, where the width and the heig... 阅读全文
posted @ 2013-08-03 10:05 Al J 阅读(300) 评论(0) 推荐(0) 编辑