All test cases are passed except test case 0

plz check, i even downloaded test case input and output it matched with mine, then also , don’t know what’s wrong

maine chlaya tho chal raha hai, aap chlake bol rahe hai yah testcase -0 dekh ke

is your code working?
if you dont have any issue, please resolve the query.

thanks

no still having trouble running testcase 0

updated code:https://ide.codingblocks.com/s/213535

the problem was missing a simple concept of character array. always end it with null character.
given[i] = ‘\0’; is the answer.

thanks
rate and resolve it.

Thank you very very much, great response, I have already resolved it.