[Community Puzzle] Candies

https://www.codingame.com/training/hard/candies

Send your feedback or ask for help here!