Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #https://inf-ege.sdamgia.ru/problem?id=19067
- for a in range(100):
- flag = True #подходит ли a
- for x in range(100):
- for y in range(100):
- if not ((x + 2 * y < a) or (y > x) or (x > 30)):
- flag = False
- if flag:
- print(a)
- break
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement