一、Floyed-Warshall算法
枚举中间点起点终点,对整个图进行松弛操作,就能得到整个图的多源最短路径;
例:POJ2240 Arbitrage
Arbitrage is the use of discrepancies in currency exchange rates to trans...
Heavy Transportation
Time Limit: 3000MS
Memory Limit: 30000K
Total Submissions: 22440
Accepted: 5950
Description
Background Hugo Heavy is happy. After...
传送门
Til the Cows Come Home
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 46727
Accepted: 15899
Description
Bessie is out in the field and w...
In the present world you frequently meet a lot of call numbers and they are going to be longer and longer. You need to remember such a kind of numbers. One method to do it in an easy way is to assi...