plz check my code . Mycode is showing wrong answer
kindly check my code and correct it
problem : https://online.codingblocks.com/app/player/39658/content/77399/5090/code-challenge
code : https://ide.codingblocks.com/s/210940
plz reply asap
plz check my code . Mycode is showing wrong answer
kindly check my code and correct it
problem : https://online.codingblocks.com/app/player/39658/content/77399/5090/code-challenge
code : https://ide.codingblocks.com/s/210940
plz reply asap
Hi @sengarankit98, by a quick glance the problem i found are
print a single line of n-1 space-separated integers listing node s’s shortest distance to each of the n-1 other nodes (ordered sequentially by node number);
here, i have corrected your code : - https://ide.codingblocks.com/s/211013
In case of any doubt feel free to ask 
If you got the answer then mark your doubt as resolved