Fence solutions

Fence was solved using C by 2 contestants. Solution sizes: average 2352 bytes (shortest: 990; longest: 3715).