Advertisement
Farz0l1x

Untitled

Dec 2nd, 2023
779
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.20 KB | None | 0 0
  1. def F(x, A):
  2.     return (x & A != 0) or ((x & 52 == 0) and (x & 14 == 0))
  3. Min = 10**10
  4. for A in range(1, 1000):
  5.     if all(F(x, A) == 1 for x in range(0, 1000)):
  6.         Min = min(Min, A)
  7. print(Min)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement