Still my code is failing last test case pls check my code and tell me the error

Ide:-https://ide.geeksforgeeks.org/U5hKQFqBS8

pleaase help me in this