Ad
  • Custom User Avatar

    Thank you, after correctly copied the array the kata showed no errors.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    I'm having troubles with this, the random test cannot be passed because it tooks the 2nd and 3rd element from the array, and I didn't changed the original array, here are some samples from the random test

    Log
    [ 1038, 40, 62, 55, 38 ]
    78
    Expected: 117, instead got: 78
    Log
    [ 1000, 27, 32, 25, 40 ]
    52
    Expected: 72, instead got: 52
    Log
    [ 1067, 65, 92, 50, 96 ]
    115
    Expected: 188, instead got: 115
    Log
    [ 1087, 73, 32, 31, 100 ]
    63
    Expected: 173, instead got: 63
    Log
    [ 1044, 72, 22, 19, 21 ]
    40
    Expected: 94, instead got: 40
    Log
    [ 1076, 26, 80, 97, 0 ]
    26
    Expected: 177, instead got: 26