Candy Splitting solutions

Candy Splitting was solved using Pascal by 150 contestants. Solution sizes: average 1079 bytes (shortest: 318; longest: 17206).

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