1. 首页
  2. 课程学习
  3. .Net
  4. poj数算实习tree解答

poj数算实习tree解答

上传者: 2021-04-19 22:50:35上传 CPP文件 2.63KB 热度 6次
Give a tree with n vertices,each edge has a length(positive integer less than 1001). Define dist(u,v)=The min distance between node u and v. Give an integer k,for every pair (u,v) of vertices is called valid if and only if dist(u,v) not exceed k.
用户评论