Ad
  • Custom User Avatar

    For the example you give you are right the answer is 1.
    I think that, one way or another, you modify the input array hence the reference solution didn't get the same input as yours.

    In the tests I modified the evaluation order of the reference solution and of your solution so your solution doesn't longer influence the reference solution. Please tell me if you succeed now.

    BTW note that 51 people passed the C kata.