Counting Sheep solutions

Counting Sheep was solved using MATLAB by 57 contestants. Solution sizes: average 1064 bytes (shortest: 431; longest: 3198).

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