Can u plz identify the problem with my code. It is running fine for only 1/3 testcases

85863 is the #code id on codingblocks ide

i have mark comments

Thanks a lot for the explanation