Editorial for COCI '12 Contest 4 #1 Orehnjaca
Submitting an official solution before solving the problem yourself is a bannable offence.
Each spectator thought he would get
As spectators were taking pieces of the walnut roll, at some point it might have occurred that a spectator could not take a piece that was provided for them because someone else had taken it already. We therefore create an array of a maximum length of
Comments