Haircut solutions

Haircut was solved using C by 44 contestants. Solution sizes: average 1396 bytes (shortest: 652; longest: 3778).

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