Candy Splitting solutions

Candy Splitting was solved using PHP by 103 contestants. Solution sizes: average 2693 bytes (shortest: 472; longest: 68714).

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