summaryrefslogtreecommitdiff
path: root/math/chineseRemainder.cpp
diff options
context:
space:
mode:
authorYidi <noob999noob999@gmail.com>2024-03-25 13:31:01 +0100
committerYidi <noob999noob999@gmail.com>2024-03-25 13:31:01 +0100
commit98aa28427350e72cb9abe4071c0c6b6870b7e6cc (patch)
tree5c8a6f3c6e35ac95e212841f453ba1d6a5b76ee8 /math/chineseRemainder.cpp
parent36ba8589fa0154d73354bd8e0101213f2d5f9ba4 (diff)
fix indent
Diffstat (limited to 'math/chineseRemainder.cpp')
-rw-r--r--math/chineseRemainder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/math/chineseRemainder.cpp b/math/chineseRemainder.cpp
index b02de48..ccbc5dc 100644
--- a/math/chineseRemainder.cpp
+++ b/math/chineseRemainder.cpp
@@ -5,7 +5,7 @@ struct CRT {
// Adds congruence x = a (mod m)
void add(ll a, ll m) {
- auto [d, s, t] = extendedEuclid(M, m);
+ auto [d, s, t] = extendedEuclid(M, m);
if((a - sol) % d != 0) hasSol = false;
lll z = M/d * s;
M *= m/d;