Moderator: Board moderators
1
2 5
1 2 4 10
1 2 5 4
1 2 4 8
1 2 10 3
1 2 4 9
1
1 2Distance and time to reach destination is 8 & 4.
removed
asif_rahman0 wrote:Please Help Me.
Couldnt get this WA. It seems OK to me.
I did it my BFS. Am i in right way???
here is my code

CUT AFTER AC
ACed
1
3 3
1 2 2 5
1 2 5 10
2 3 3 6
1
1 3Distance and time to reach destination is 11 & 5.Users browsing this forum: No registered users and 1 guest