Doubt in line 17 of the code

when we insert the value in q priority_queue
we insert value as
q.push({arr[i][0], {i,0}});

we are inserting value as pairs so make_pair use nhi krna chahiye thaa?

hello @gagz23
ha tum wo bhi use kar sakte ho.
dono same hi kaam karega.