my code gives correct answer on 45 26 test case in custom est else in submission fails and gives wrong answer
Same here for 22 96. How did you pass it?
Clear the global variable if used in the first line of the function.