Hdu
寒萧雨
https://hxyerror.github.io/个人博客
展开
-
HDU - 1874:畅通工程续
畅通工程续:某省自从实行了很多年的畅通工程计划后,终于修建了很多路。不过路多了也不好,每次要从一个城镇到另一个城镇时,都有许多种道路方案可以选择,而某些方案要比另一些方案行走的距离要短很多。这让行人很困扰。现在,已知起点和终点,请你计算出要从起点到终点,最短需要行走多少距离。Input:本题目包含多组数据,请处理到文件结束。每组数据第一行包含两个正整数N和M(0<N<200,...原创 2019-04-07 17:15:02 · 305 阅读 · 0 评论 -
HDU - 1142:A Walk Through the Forest
A Walk Through the Forest :Dijkstra还没弄明白dfs部分题意Jimmy experiences a lot of stress at work these days, especially since his accident made working difficult. To relax after a hard day, he likes to walk...原创 2019-04-07 18:29:45 · 179 阅读 · 0 评论 -
HDU - 1162:Eddy's picture
Eddy’s picture:kruskalEddy begins to like painting pictures recently ,he is sure of himself to become a painter.Every day Eddy draws pictures in his small room, and he usually puts out his newest pic...原创 2019-04-07 18:33:22 · 151 阅读 · 0 评论