Reordering Train Cars solutions

Reordering Train Cars was solved using C by 29 contestants. Solution sizes: average 2191 bytes (shortest: 879; longest: 5066).

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