
DP,floyd变性。能想到floyd基本就能过,然而书上给的思路弄反了,自己模拟一下改了一下就好。算法的权值#include#include#include#includeusing name...
![]()
hy1405430407
2015年08月13日 16:44
327
Consider yourself lucky! Consider yourself lucky to be still breathing and having fun participating ...
![]()
feng_zhiyu
2017年08月11日 19:31
81
UVa的题目地址如下:?option=com_onlinejudge&Itemid=8&page=show_problem&p...
![]()
lzk413
2014年11月29日 23:21
249
题意:给出n条边和权值, 再给出若干对点, 求到达两点间经过的权值最大的边最小的那条路径中所有权值的和。解题思路:对于这样的问题最短路和生成树算法都可以解决, 但是因为多组查询所以使用Fl...

![]()
qwe585p
2015年11月11日 22:15
210
原题链接:https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&probl...
![]()
sunshine_YG
2015年08月23日 16:59
232
题目地址:https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem...
![]()
wang2147483647
2017年02月09日 16:10
139
题意:一个有C个点S条边的连通无向图,每条边有一非负权值(噪音),有Q组询问,每组询问从点c1到点c2(c1 != c2)最小需要忍受多大的噪音(非和)(C 题目链接:
![]()

SCNU_Jiechao
2013年08月28日 20:59
545
Problem B: Audiophobia??Consider yourself lucky! Consider yourself lucky to be still brea...
![]()
u011217342
2013年11月23日 11:08
732
AudiophobiaConsider yourself lucky! Consider yourself lucky to be still breathing and having fun...
![]()
u014733623
2014年11月10日 23:49
331
思路:套用Floyd算法思想,d(i, j) = min(d(i,j), max(d(i,k), d(k,j)),就能很方便求得任意两点之间的最小噪音路径。算法的权值AC代码#include #i...
![]()
flyawayl
2017年03月03日 14:20
本文来自电脑杂谈,转载请注明本文网址:
http://www.pc-fly.com/a/jisuanjixue/article-76339-1.html
表示5s还在9