ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 2025. Line Fighting

hint
Posted by Evgeny Shulgin 1 Mar 2015 18:05
You have to divide the participants into equal teams (rounded)
For example, for "15 10" test - (1, 1, 1, 1, 1, 2, 2, 2, 2, 2)
Good luck :)
Re: hint
Posted by Volodymyr Sharayenko 23 Oct 2018 06:32
And how to calculate the amount of combinations after I have the team distribution list?
Thank you