someone could give me some hints or test data ?
thx advance;
//sorry for my poor english

Moderator: Board moderators
Code: Select all
1. First run Dijkstra for minimum cost
2. then delete all cost of greater than this minimum cost.
3. then run bfs for minimum edge
I solved that by DP.rammestain wrote:I've tried too solve this problem with bell-man ford but I got getting TLE.
I repeat outer loop of bell-man ford while I have a update in inner loop.
Is this true?