How to solve Coloured Marbles?

Revision en1, by aopo, 2021-05-10 10:11:28

Hello guys, can someone help me in understanding the solution to this problem. I read the editorila several times yet i can't get it.I don't know why is it written so "Let's shorthand this with minNumber(colorCount, number[colorCount])." Can someone share his ideas or any approach for solving this problem. I bet this is one of the most interesting problem on ad-hoc,greedy!

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English aopo 2021-05-10 10:11:28 471 Initial revision (published)