aboutsummaryrefslogtreecommitdiff
path: root/Math
diff options
context:
space:
mode:
authorAnthony Wang2020-09-06 14:27:14 -0500
committerAnthony Wang2020-09-06 14:27:14 -0500
commitf79db8f69575229c7bb21c00f7d7ced120d0e187 (patch)
treedfe2e687350d87e41945dbfdfb7e40f1c431ca12 /Math
parentdcb2b2d3768f6467e68d285b48525ece51fd13ac (diff)
New style
Diffstat (limited to 'Math')
-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; }