Editorial for VMSS '15 #0 - Head Data Slave Applications
Submitting an official solution before solving the problem yourself is a bannable offence.
Authors:
,Despite being the first (or 0th) problem, this is one of the more difficult ones in the contest. The militants must be arranged such that the last militant with label
Now, let's assume we have
Now those familiar with combinatorics will recognize how we can choose to organize all
To do this, we can build a Pascal's triangle and query the answer in
Final complexity:
Comments