Mean of while (t--) in line 12

mean of while (t–) in line 12

hum yaha pr har jagah .first and .secomd kkre hai so yeh kya predefined hai .first and . second

while(t–) is for the test cases. You need to work for each test case. This is why you make this while loop.
Yes first and second is predefined for pair. It must be taught in the STL section of your course.

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.