摘要: 题:http://acm.hdu.edu.cn/showproblem.php?pid=6725 分析:给节点选值肯定是选边界值。假设由节点是选中间值,那么肯定有比它选值更好的值,所以把选的可能定为2个。 #include<bits/stdc++.h> using namespace std; #d 阅读全文
posted @ 2020-07-19 21:07 starve_to_death 阅读(155) 评论(0) 推荐(0) 编辑