codeforces 61 D 115 A
摘要:
D 从1开始走 走过所有的点 最少的花费 显然 走到叶子节点 最大的费用 不用算 那么就是从根开始走走到叶子的距离处理出来 dis[i] 从根到i 的距离 #include<stdio.h> #include<string.h> #include<algorithm> using namespace 阅读全文
posted @ 2017-03-11 15:08 HelloWorld!--By-MJY 阅读(131) 评论(0) 推荐(0) 编辑