From e044020522e046efe081c72e4d842f47d1d95e66 Mon Sep 17 00:00:00 2001 From: serr Date: Thu, 9 Jan 2025 02:01:28 +0300 Subject: [PATCH] =?UTF-8?q?=D0=BF=D1=80=D0=B8=D1=87=D0=B5=D1=81=D0=B0?= =?UTF-8?q?=D0=BB=20=D1=87=D1=83=D1=82=D0=BA=D0=B0=20=D0=BA=D0=BE=D0=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- euler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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__":