Magic Trick solutions

Magic Trick was solved using C by 1680 contestants. Solution sizes: average 1233 bytes (shortest: 457; longest: 25941).

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