摘要: 题目链接:Link Problem Solution 在确定状态时不妨强制令其必须取当前子树的跟节点,不难发现此时贪心取其子树即可。 Code #include<cstdio> #include<cstring> #include<algorithm> #include<vector> using 阅读全文
posted @ 2019-10-21 21:56 happyZYM 阅读(132) 评论(0) 推荐(0) 编辑
摘要: 题目 答案及解析 (未完待续) 阅读全文
posted @ 2019-10-21 21:46 happyZYM 阅读(811) 评论(2) 推荐(0) 编辑