Advertisement
nq1s788

14 (1 система)

Sep 22nd, 2024
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.21 KB | None | 0 0
  1. #https://inf-ege.sdamgia.ru/problem?id=47218
  2. for x in range(15):
  3.     a = 1 * 15**4 + 2 * 15**3 + 3 * 15**2 + x*15 + 5 + 1 * 15**4 + x * 15**3 + 2 * 15**2 + 3 * 15 + 3
  4.     if a % 14 == 0:
  5.         print(x, a // 14)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement