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.