gotop's blog

By gotop, history, 9 years ago, In English

If we can give zero candy to person, is there any way to compute Fast "distribute n candies to r people" ??

if we can't give zero candy, solution is (n-1)C(r-1)

but we can give zero candy, I don't know how to compute fast

please help me

Full text and comments »

  • Vote: I like it
  • -5
  • Vote: I do not like it