Magic Trick solutions

Magic Trick was solved using Scala by 111 contestants. Solution sizes: average 1349 bytes (shortest: 430; longest: 9456).

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