Ad
  • Custom User Avatar

    There was probably an issue with high values in random parameters. Please, try it again, it should be fine.

  • Default User Avatar

    just attempted this kata, i have all tests passing except for the random one, my latest attempt gets this message:

    randomTests(SolutionTest)
    Log
    Generating random arrays:
    [21, 5, 30, 39] with n: 10
    expected:<-1095697052> but was: <2147483552>

    surely it is impossible for the answer to be negative.
    I have gone and manually worked it out and the answer should be 8747575975935332, so somehow my answer is wrong too.
    Is it me doing something wrong or does this not make sense...or both...