Ad
  • Custom User Avatar

    oh, sorry in Python 3.6

  • Custom User Avatar

    I've got a random test case that is broken.

    test.assert_equals(pack_bagpack([3, 18, 6, 6, 14, 12, 8, 5, 12, 13, 19, 9, 12, 4, 4], [1, 5, 3, 4, 3, 3, 3, 4, 1, 2, 3, 4, 2, 1, 3], 149), 182)
    

    It says that the final score should be 182, but sum of all given elements is sum([3, 18, 6, 6, 14, 12, 8, 5, 12, 13, 19, 9, 12, 4, 4]) == 145