2010年4月28日

摘要: floyd后遍历下就好代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--#include<iostream>#include<cstring>#include<cstdio>#include<climits&... 阅读全文
posted @ 2010-04-28 11:37 lee41sum 阅读(233) 评论(0) 推荐(0) 编辑
 
摘要: SPFA找负环,当一个点入队的次数>=n时就证明出现了负环。代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--#include<iostream>#include<cstdio>#include<cstring&g... 阅读全文
posted @ 2010-04-28 00:46 lee41sum 阅读(283) 评论(0) 推荐(0) 编辑