Candy Splitting solutions

Candy Splitting was solved using JavaScript by 11 contestants. Solution sizes: average 2586 bytes (shortest: 560; longest: 5571).

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