sir why my code not works
Dijshiktra's code
mam code give wrong answer in test case
wait let me check …
unordered map use nhi karna
since o/p order matters
and then

first check if INT_MAX display -1 else c.second
sir why my code not works
mam code give wrong answer in test case
wait let me check …
unordered map use nhi karna
since o/p order matters
and then

first check if INT_MAX display -1 else c.second