in reply to Re^3: Faster (but uglier) PWC 350-2 solutions
in thread Faster (but uglier) PWC 350-2 solutions

The test is how many numbers in the range are part of at least count pairs.

Didn't they ask for "different pairs"? 1782 and 7128 belong to the same pair. OTOH, "1428570 belongs to 5 different shuffle pairs" -- yeah, how else, what's the alternative? What does that even mean to "belong to several pairs which are not different"? Replicate any as much as I please? Perhaps your interpretation is correct, if only by Occam's razor, just remove one meaningless word globally in the task. Sorry, never mind.

  • Comment on Re^4: Faster (but uglier) PWC 350-2 solutions