NOT GETTING CORRECT OUTPUT
hi @G_rahil
at line no 22
correct statement is
if(y+1<arr[x].size()){
pq.push({arr[x][y+1], {x, y+1}});
}
after that your code will give correct outpout
i hope this help
if you have more doubts regarding this feel free to ask
if your doubt is resolved mark it as resolved from your doubt section inside your course