Problem 102 -- Ecological Bin Packing
read problem
Tips
Hard to believe there is such a simple problem existing!
There are only six combinations with B, C, G colors.
Check out how many bottles need to be moved in each combination. Report the lowest one.