摘要:
[代码]优化版的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
阅读(396)
评论(0)
推荐(0)

浙公网安备 33010602011771号