![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
***Flyod***
zm_11
这个作者很懒,什么都没留下…
展开
-
Hdu oj 5137 How Many Maos Does the Guanxi Worth
题目:点击打开链接 分析: 枚举+floyd 代码: #include #include #include #define INF 0x3f3f3f3f using namespace std; int p[40][40],dis[40][40]; int n,m; int floyd(int x) { int i,j,k; for(i=1;i<=n;i++)原创 2015-08-24 11:26:57 · 349 阅读 · 0 评论 -
Hdu oj 2066 一个人的旅行
题目:点击打开链接 代码 #include #include #include #include #define INF 0x3f3f3f3f using namespace std; int d[1005][1005]; int a1[1005],b1[1005]; int main() { int m,n,p; while(~scanf("%d%d%d",&m,&原创 2015-08-21 20:19:50 · 595 阅读 · 0 评论