URAL 1162 Currency Exchange (Bellman-Ford贝尔曼-福特算法)
#include
intnumOfCurrencies,numOfExchPoints,NickCurrencyNum;
doubleNickCurrencyAmount;
typedefstructExchange{
intfrom;
intto;
doublerate;
doublecommisssions;
}Exchange;
ExchangeExchangeArray[100000];