随笔 - 0  文章 - 5  trackbacks - 0
<2025年7月>
293012345
6789101112
13141516171819
20212223242526
272829303112
3456789

常用链接

留言簿(2)

文章分类

文章档案

教育

信息学奥赛

有用网站

在线OJ

专题测试

租房信息

搜索

  •  

最新评论

#include using namespace std; const int N = 1000, oo = 0x3fffffff; int n,dist[N][N]; void init(){ int e; cin>>n>>e; fill(dist[0],dist[0]+N*N,oo); for (int i=0;i>a>>b>>c; dist[a][b]=c; } } void floyd(){ for (int k=0;kposted on 2014-07-23 22:05 龙在江湖 阅读(190) 评论(0)  编辑 收藏 引用 所属分类: 图论算法