Блог пользователя Travis_Bickle

Автор Travis_Bickle, история, 4 года назад, По-английски

Can someone give me a hint on this problem and also can one friend take more than one gift because it is not clear in the statement.

https://mirror.codeforces.com/gym/100952/problem/D

  • Проголосовать: нравится
  • +3
  • Проголосовать: не нравится

»
4 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

You buy exactly one gift for every friend. So in total you buy exactly m gifts. The question is in how many different ways you can choose m out of n gifts. With the extra constraint that at least k of them have a price of at least d.

Hint