阅读背景:

POJ - 3037-Skiing(邻接表+Dijkstra)

来源:互联网 
Bessie and the rest of Farmer John's cows are taking a trip this winter to go skiing. One day Bessie finds herself at the top left corner of an R (1 <= R <= 100) by C (1 <= C <= 100) grid of elevations E (-25 <= E <= 25). In order to join FJ and the other cows at a discow party, she must get down to the bottom right corner as quickly as she can by travelling only north, south, east, and west.  Bessie and the rest of Farmer John's cows ar



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

分享到: