Error in the code of my program

what is the error in my code due to which the last 2 test cases are not getting passed?

you have already passed all testcase
which code you want to be checked?
send the link of code