摘要:
#include#include#include#include#includeusing namespace std;#define maxn 120#define maxm 22000#define eps 1e-7int nn;int e[maxn],ne[maxm],v[maxm],w[maxm];void add(int x,int y,int z){ nn++; ne[nn]=e[x]; e[x]=nn; v[nn]=y; w[nn]=z;}double f[maxn][maxn];int n,m;int d[maxn];double a[maxn];void ... 阅读全文