aboutsummaryrefslogtreecommitdiff
path: root/Math/numtheory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Math/numtheory.cpp')
-rw-r--r--Math/numtheory.cpp2
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; }