PnnK

15 task / bit

Sep 20th, 2021
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.19 KB | None | 0 0
  1. for A in range(1,1000):
  2.     isSolution = True
  3.     for x in range(1,1000):
  4.         if not (x&72 != 0 or x&28==0  or x&A!=0):
  5.             isSolution = False
  6.     if isSolution:
  7.         print(A)
Advertisement
Add Comment
Please, Sign In to add comment