summaryrefslogtreecommitdiff
path: root/math/linearCongruence.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'math/linearCongruence.cpp')
-rw-r--r--math/linearCongruence.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/math/linearCongruence.cpp b/math/linearCongruence.cpp
index b4f172d..cdb5a37 100644
--- a/math/linearCongruence.cpp
+++ b/math/linearCongruence.cpp
@@ -2,4 +2,4 @@ ll solveLinearCongruence(ll a, ll b, ll m) {
ll g = gcd(a, m);
if (b % g != 0) return -1;
return ((b / g) * multInv(a / g, m / g)) % (m / g);
-} \ No newline at end of file
+}