Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #https://inf-ege.sdamgia.ru/problem?id=9804
- for a in range(1000):
- f = False #нашелся ли x, на котором не выполняется
- for x in range(1000):
- if not ((x & 29 != 0) <= ((x & 17 == 0) <= (x & a != 0))):
- f = True
- break
- if not f:
- print(a)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement