2018年12月18日

【P1359 租用游艇】floyed最短路 模板题

摘要: https://www.luogu.org/problemnew/show/P1359 试题分析: 红框中为floyed后 存储结构,各点间最短距离。 阅读全文

posted @ 2018-12-18 11:47 lcdxjsj 阅读(115) 评论(0) 推荐(0)

【floyed最短路】例题4.1—473页 最短路径问题

摘要: 根据样例画图为上. 求dis[1][5] #include<cstdio> #include<cmath> #include<iostream> #include<cstring> using namespace std; int a[101][3]; double f[101][101]; //f 阅读全文

posted @ 2018-12-18 11:00 lcdxjsj 阅读(255) 评论(0) 推荐(0)

导航