summaryrefslogtreecommitdiff
path: root/math/linearCongruence.cpp
diff options
context:
space:
mode:
authorMZuenni <michi.zuendorf@gmail.com>2023-02-13 16:46:09 +0100
committerMZuenni <michi.zuendorf@gmail.com>2023-02-13 16:46:09 +0100
commit54946c9945857e42b8eb4025a66d3344bd53f07c (patch)
tree083a4f68ac29dd31865474fcec4e0743520a13ea /math/linearCongruence.cpp
parentcd657bcfa53ee3b5b200820b9d5bad510d098920 (diff)
reformatted lineendings
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
+}