Ad
  • Default User Avatar

    For some random tests, the expected length seems to be off by one?

    ['94366 - KzQgybHa - 51.7 43.2 56.2 36.9 46.0', '61746 - jnsGvIel - 53.4 59.2 14.0 34.4', '96362 - EDFTyzLS - 43.6 58.3 85.5', '34877 - yVLBMuTK - 59.0 25.0 60.1', '28164 - xtHvMYWi - 18.3 69.6 98.4 34.8', '29873 - DopOhJfi - 18.2 76.4 29.1 10.2', '67638 - nOXGIqOs - 55.0 89.0 82.6', '58755 - IlLRxYYZ - 94.6 79.2 40.5', '67638 - IETAxXyI - 13.1 83.4 73.2 87.4 13.3']

    The attempt length (9) does not equal the answer length (8)

    Yet, I'm pretty sure that the list has 9 inputs?

  • Custom User Avatar

    Input validation is more annoying than anything and should be removed.

  • Custom User Avatar

    Please, replace tabs with spaces in the tests everywhere.

  • Custom User Avatar

    My solution is always passing for short lists but often fails for longer ones. Either the reference is wrong, or the number of tests is too low to disallow faulty code from passing all tests.

  • Custom User Avatar

    hi,

    • the output should be a tuple, not a dict.
    • I'm almost sure I already solved that on codewars => almost sure it's a duplicate
  • Custom User Avatar

    Your random test generator sometimes gives cases which go on forever. Also, 15 random tests isn't enough. 100 would be a better number.

  • Custom User Avatar

    The description is very unclear, and one has to check external resources to actually figure out how the game works.