I am getting right answer of given test case

On submitting the code I am getting wrong answer for all my test cases, but on my ide I am getting right answer for the given case.

Check you code for same lexographical input
79
4
Adsaf 97
Afnvds 97
Aahsjd 97
Ajfhsj 120

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.