What is wrong with my code? i have tried numerous times, i dont know why am i getting a runtime error in the first two twstcases


here is the link

@arya_31 Change line 16 to pair <string,int> emp[100005]; and then check.

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.