摘要: 这题是一个模版题,可以借助bellman-ford算法中的判断负环的办法解决。既然是模版题不多说上模版:#include #define typec int // type of costconst typec inf=0x3f3f3f3f; // max of costconst int V=50... 阅读全文
posted @ 2013-08-05 09:25 、小呆 阅读(90) 评论(0) 推荐(0) 编辑