diff options
author | Anthony Wang | 2020-09-06 14:27:14 -0500 |
---|---|---|
committer | Anthony Wang | 2020-09-06 14:27:14 -0500 |
commit | f79db8f69575229c7bb21c00f7d7ced120d0e187 (patch) | |
tree | dfe2e687350d87e41945dbfdfb7e40f1c431ca12 /Math | |
parent | dcb2b2d3768f6467e68d285b48525ece51fd13ac (diff) |
New style
Diffstat (limited to 'Math')
-rw-r--r-- | Math/numtheory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Math/numtheory.cpp b/Math/numtheory.cpp index 02228e2..a019b05 100644 --- a/Math/numtheory.cpp +++ b/Math/numtheory.cpp @@ -11,7 +11,7 @@ inline ll pw(ll base, ll exp) { inline ll inv(ll x) { return pw(x, MOD-2); } -ll fact[MN] = { 1 }, ifact[MN] = { 1 }; +ll fact[MX] = { 1 }, ifact[MX] = { 1 }; inline ll nCr(int n, int k) { return fact[n]*ifact[k]%MOD*ifact[n-k]%MOD; } |