WA for dijkstras algo problem


prob link- https://hack.codingblocks.com/contests/c/917/787

@sanjeetboora, No resolutions yet

Hello @S19LPPP0159,

Your code is giving wrong output for testcases with larger values of ‘r’:
1
5 4
3 2 1
1 3 100000
1 4 1
2 5 100000
1

Correct it.

Let me know if you face any issue.
Hope, this would help.

1 Like