Ad
  • Custom User Avatar

    Even the fixed tests are incorrect:

    collect_apples([0, 1179, 655, 655, 262, 262, 1048, 655, 393, 1179, 917, 0, 1179, 0, 131, 0, 262, 917, 786, 655, 524, 0, 0, 131, 262, 131], 10)
    
    {(False, True, False, True, False, False, True, False, True, False, True, False, True, False, True, False, False, True, False, True, False, False, False, False, True, False)}
    should equal
    {(False, True, False, True, False, False, True, False, False, True, False, False, True, False, True, False, False, True, False, True, False, False, True, False, True, False),
     (False, True, False, True, False, False, True, False, False, True, False, False, True, False, True, False, False, True, False, True, False, False, False, True, False, True),
     (False, True, False, True, False, False, True, False, False, True, False, False, True, False, True, False, False, True, False, True, False, True, False, False, True, False)}
    

    The expected values sum to 7205, when there is a configuration with a sum of 7336.

  • Default User Avatar

    at least in Python, there are no fixed / sample tests with = and - being adjacent, e.g.:

    <---===

    <-=-=->