Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #https://inf-ege.sdamgia.ru/problem?id=59719
- for x in range(15):
- a = 9 * 22**7 + 8 * 22**6 + x * 22**5 + 7 * 22**4 + 9 * 22**3 + 6 * 22**2 + 4 * 22**1 + 1 + 2*22**4 + 5*22**3 + \
- x*22**2 + 4*22 + 9 + 6*22**3 + 3*22**2 + x*22 + 5
- if (a % 21) == 0:
- print(a // 21)
Advertisement
Add Comment
Please, Sign In to add comment