阅读背景:

POJ 2395 Out of Hay 最小生成树

来源:互联网 

The cows have run out of hay, a horrible event that must be remedied immediately. Bessie intends to visit the other farms to survey their hay situation. There are N (2 <= N <= 2,000) farms (numbered 1..N); Bessie starts at Farm 1. She'll traverse some or all of the M (1 <= M <= 10,000) two-way roads whose length does not exceed 1,000,000,000 that connect the farms. Some farms may be multiply connected with different length roads. All farms are connected one way or another to Farm 1.The cows have run out of hay, a horrible




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: