[HELP]

Revision en1, by NeverSee, 2019-10-20 07:55:10

I want to calculate c(i, j) that mine (select j person from i person) for all i & j <= 1e4 mode n that if n is prime i know that the answer is use inversion but in this n is not prime and for
c[i][j] = c[i — 1][j] + c[i — 1][j — 1] is memory limit
sorry for my english.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English NeverSee 2019-10-20 07:55:10 453 Initial revision (published)