Ad
  • Custom User Avatar

    My solution doesn't pass sometimes on the last randomized test case, and it seems to be due to inconsistency with how the case of two items having the same priority is handled. It seems to be a toss-up for which one is shipped first.

  • Custom User Avatar

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