
图
HPU2_2
这个作者很懒,什么都没留下…
展开
-
Til the Cows Come Home [最短路模板题]
Bessie is out in the field and wants to get back to the barn to get as much sleep as possible before Farmer John wakes her for the morning milking. Bessie needs her beauty sleep, so she wants to get b...原创 2018-08-14 21:03:01 · 695 阅读 · 0 评论 -
Brush (V) [最短路模板题]
Tanvir returned home from the contest and got angry after seeing his room dusty. Who likes to see a dusty room after a brain storming programming contest? After checking a bit he found that there is n...原创 2018-08-14 21:05:25 · 225 阅读 · 0 评论 -
Roadblocks [POJ 3255]
某街区共有R条道路,N个路口。道路可以双向通行。问一号路口到N号路口的次短路的长度是多少。同一条路可以经过多次。 #include <stdio.h> #include <iostream> #include <vector> #include <algorithm> #include <queue> using namespace s...原创 2018-12-20 22:03:05 · 148 阅读 · 0 评论