poj 1860 Currency Exchange
摘要:
#include <iostream> //Bellman-Ford算法的变形,参照 poj 2240 Arbitrageusing namespace std;const int maxnum = 102;int n,m,s,a,b;double v,r1,c1,r2,c2;typedef struct Edge{ int u, v; double ex,com; }Edge;Edge edge[1000]; double dist[maxnum]; int nodenum, edgenum; void input(){ cin>>n>>m>> 阅读全文
posted @ 2011-07-22 20:28 sysu_mjc 阅读(204) 评论(0) 推荐(0)
浙公网安备 33010602011771号