Ticket Swapping solutions

Ticket Swapping was solved using C++ by 1744 contestants. Solution sizes: average 2335 bytes (shortest: 117; longest: 47375).

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