i m getting correct answer on executing but the cb ide is showing wrong answer on submitting.
kindly see my code
Dijkstra_algorithm
u have done 2 mistake
- u also have to print a space after printing -1
"-1 " like this - endl after every test case
1 Like
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.
