Ticket Swapping solutions

Ticket Swapping was solved using Pascal by 10 contestants. Solution sizes: average 3563 bytes (shortest: 1095; longest: 14160).

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