I used the editorial submission for this problem still I am getting 0 test cases passed

I am not expecting points but just that was expecting the editorial solution to pass and its failing.