Painting a Fence solutions

Painting a Fence was solved using C++ by 150 contestants. Solution sizes: average 2815 bytes (shortest: 1141; longest: 29051).

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