diff --git a/euler.py b/euler.py index 79f529d..7598b93 100644 --- a/euler.py +++ b/euler.py @@ -30,7 +30,7 @@ def solve(task): x0 = (b1 * pow(a1, euler(m1) - 1, m1)) % m1 s='' for i in range(d): - s += f"x={(x0 + i * m//d) % m}mod{m}\n" + s += f'x={(x0+m//d*i)%m}mod{m}\n' return s[:-1] if __name__ == "__main__":