Ad
  • Custom User Avatar

    spoiler flag, plz.

  • Default User Avatar

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

  • Default User Avatar

    okay, I'm replying because I spent awhile staring at this and not understanding, trying to figure out how order mattered or somesuch. It appears that the random tests are evaluated after the test runs against your code. So if the original input is modified (via pop, for example), then the rolls passed to the test to validate are incorrect. It (likely) doesn't have anything to do with the result you are calculating.

  • Default User Avatar

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