Submission #7054230

My Submission gives me error as it fails the test case 1 but passes the test case 2. I have checked it with my previous submissions. My previous submissions passed the test cases correctly but my this optimised one fails. Even thought after unlocking the editorial and test cases. I could not find where it fails in the 1st test case while my old submission does pass

@chebomsta i checked output of this code against the output of the code that got 100 points and they are giving the same output for both the given test cases. There might be some problem with checker please try later.
Your logic and output are correct however, so you can move on if you want