Counting Sheep solutions

Counting Sheep was solved using C by 2039 contestants. Solution sizes: average 987 bytes (shortest: 343; longest: 5276).

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