Haircut solutions

Haircut was solved using C++ by 3046 contestants. Solution sizes: average 1613 bytes (shortest: 341; longest: 21792).

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