nq1s788

14 с 2мя неизвестными

Feb 4th, 2026
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.28 KB | None | 0 0
  1. #https://inf-ege.sdamgia.ru/problem?id=48384
  2. mn = 10000000000
  3. for x in range(9):
  4.     for y in range(9):
  5.         a = 8 * 9**4 + 8 * 9**3 + x * 9**2 + 4 * 9 + y + 7 * 11**4 + x * 11**3 + 4 * 11**2 + 4 * 11 + y
  6.         if a % 61 == 0:
  7.             mn = min(mn, a // 61)
  8. print(mn)
Advertisement
Add Comment
Please, Sign In to add comment