Getting unknow error in Dijkstras

Getting an unknown error MLE while submitting the code. Worked absolutely fine locally.

Link: https://ide.codingblocks.com/s/249596

hello @Avi-Kasliwal-315786729062203
a)
image
remove these two lines.(checker has some issue with these lines)

b)


this will print distances only for nodes thats are directly or indireclty connected by src.
but we need to print distance for every node.

refer ur corrected code here ->

https://ide.codingblocks.com/s/249689