Erik: The Candyboy - 1

For N = 10, maximum satisfaction 36 will be achieved if you choose 3 friends and distribute candies among them in any of the following ways: {3, 3, 4} → 3 + 3 + 4 = 10, 3 × 3 × 4 = 36 {3, 4, 3} → 3 + 4 + 3 = 10, 3 × 4 × 3 = 36 {4, 3, 3} → 4 + 3 + 3 = 10, 4 × 3 × 3 = 36


This is a companion discussion topic for the original entry at https://toph.co/p/erik-the-candyboy---1