Travis_Bickle's blog

By Travis_Bickle, history, 4 years ago, In English

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

  • Vote: I like it
  • +3
  • Vote: I do not like it

»
4 years ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

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