Last test case failing please check the code

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

your code for test case like 100000
refer to this

sorry i cannot understand what you are trying to say .Can you please tell me what is wrong in my code my.

PLease help .tell me where my code is wrong