Problem 5: Big Boxes
https://open.kattis.com/problems/bigboxes
3 1 1 3 9 5 2 Given
3 1 1 3 9 5 2 Current sum = 3
^
3 1 1 3 9 5 2 Current sum = 4
^
3 1 1 3 9 5 2 Current sum = 5
^
3 1 1 3 9 5 2 Current sum = 8
^
3 1 1 3 | 9 5 2 9 + 8 > 12, add partition
^ Current sum = 9
3 1 1 3 | 9 | 5 2 5 + 9 > 12, add partition
^ Current sum = 5
3 1 1 3 | 9 | 5 2 Current sum = 7
^ 3 groups -> impossibleLast updated