summaryrefslogtreecommitdiff
path: root/math/shortModInv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'math/shortModInv.cpp')
-rw-r--r--math/shortModInv.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/math/shortModInv.cpp b/math/shortModInv.cpp
deleted file mode 100644
index 244bacf..0000000
--- a/math/shortModInv.cpp
+++ /dev/null
@@ -1,3 +0,0 @@
-ll multInv(ll x, ll m) { // x^{-1} mod m
- return 1 < x ? m - inv(m % x, x) * m / x : 1;
-}