Magic Trick solutions

Magic Trick was solved using Haskell by 158 contestants. Solution sizes: average 1328 bytes (shortest: 404; longest: 18239).

The list below is sorted by solution size. You can also sort by ranking.