Why my code it not taking all the inputs and not proceeding further . Please tell me mistake. This is krushkal algo of graph . | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why my code it not taking all the inputs and not proceeding further . Please tell me mistake. This is krushkal algo of graph .

https://code.sololearn.com/chJYXA0Tn4c5/?ref=app

13th Dec 2022, 9:16 PM
Abhay mishra
Abhay mishra - avatar
1 Answer
+ 1
The first step when code doesn't work right is to analyse the results. You have an error message. It shows the problem, the cause and the exact line. Just change the variable type accordingly.
13th Dec 2022, 11:52 PM
Emerson Prado
Emerson Prado - avatar