2013年9月23日

UVA 10269 Adventure of Super Mario floyd dp

摘要: Problem AAdventure of Super MarioInput:Standard InputOutput:Standard OutputAfter rescuing the beautiful princess, Super Mario needs to find a way home -- with the princess of course :-) He's very familiar with the 'Super Mario World', so he doesn't need a map, he only needs the best 阅读全文

posted @ 2013-09-23 20:26 电子幼体 阅读(190) 评论(0) 推荐(0) 编辑

UVA 11280 Flying to Fredericton 最短路DP

摘要: Problem CFLYING TO FREDERICTONAfter being inspired by Salvador Dali's artwork, Brett decided he would like to travel to Fredericton, New Brunswick to visit the Beaverbrook Art Gallery.Brett lives in Calgary, and would like to find the cheapest flight or flights that would take him to Fredericton 阅读全文

posted @ 2013-09-23 20:19 电子幼体 阅读(209) 评论(0) 推荐(0) 编辑

导航