Code is wrong...................!

5 6
0 1 2
0 4 3
1 2 5
1 4 4
4 3 3
2 3 6
code will not work for this entry
where 5 is num of vertices and 6 is edges

Hey @anuranjan8319918906 can you please elaborate your doubt , so that i can help you in a better way :blush:

sir can we talk on phone call

I am really sorry @anuranjan8319918906, you can elaborate your doubt here. I’ll try to give you a valid explanation and also which should be easy to understand :slight_smile:

Ok then, suppose two edges from vertex 0 is from 0 to 1 wt 2 and another is from 0 to 5 wt 3

okay then @anuranjan8319918906

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.