摘要: 题面在这里! 依然一眼题,求出割边之后把图缩成一棵树,然后直接求最长链就行了2333 阅读全文
posted @ 2018-07-01 19:58 蒟蒻JHY 阅读(297) 评论(0) 推荐(0) 编辑
摘要: 题面在这里! 好智障的一个dp啊,一段开头的数字相当于下面要跟多少个数,直接滚动数组dp就行了。。。 阅读全文
posted @ 2018-07-01 19:30 蒟蒻JHY 阅读(145) 评论(0) 推荐(0) 编辑
摘要: Problem Statement There are N piles of candies on the table. The piles are numbered 1 through N. At first, pile i contains ai candies. Snuke and Ciel 阅读全文
posted @ 2018-07-01 16:43 蒟蒻JHY 阅读(275) 评论(0) 推荐(0) 编辑