会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
lj_cherish
博客园
首页
新随笔
联系
管理
订阅
2010年11月16日
spfa 链表(优化版)
摘要: [代码]优化版的spfa_link[代码] 2 3 4 5 program spfa;{By Zine.Chant} 6 type link=^node; 7 node=record 8 x,y:longint;{x是指向的节点,y是边权} 9 next:link; 10 end; 11 var i,n,m,x,y,z,start,head,tail:longint; 12 f:arr...
阅读全文
posted @ 2010-11-16 14:28 lj_cherish
阅读(387)
评论(0)
推荐(0)
编辑
公告