2015年5月12日

zoj 3865

摘要: SuperbotTime Limit:2 Seconds Memory Limit:65536 KBSuperbotis an interesting game which you need to control the robot on anN*Mgrid map.As you see, it's... 阅读全文

posted @ 2015-05-12 23:36 爱装逼的书呆子 阅读(157) 评论(0) 推荐(0)

最短路

摘要: 参考:http://blog.csdn.net/shuangde800/article/details/7987100Foyed算法(动态规划):i,j之间的最短路要么直接相连,要么通过一系列其他的点。设为从到的只以集合中的节点为中间节点的最短路径的长度。 //状态的定义十分重要,要想清楚,不然搞死... 阅读全文

posted @ 2015-05-12 20:36 爱装逼的书呆子 阅读(340) 评论(0) 推荐(0)

导航