|
|
вернуться в форумHint and some tests maximize amount of teams, but minimize max amount of fighters in a team. For example, if n=9, k=5, you should make 5 teams this way: (2, 2, 2, 2, 1) Tests: Input: 3 7 4 9 4 12 5 Output: 18 30 57 Edited by author 23.12.2015 22:42 |
|
|