Advertisement
Korotkodul

code

Feb 21st, 2022
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. def bn(n):
  2. return bin(n)[2::]
  3.  
  4. com = bn(192) + bn(168) + bn(200)
  5. a = com + bn(140)
  6. b = com + bn(145)
  7. c = com + bn(148)
  8. print(a)
  9. print(b)
  10. print(c)
  11. for i in range(26, len(b)):
  12. if a[::i] != c[::i] and b[::i] == c[::i]:
  13. print(i+1)
  14. break
  15. #ответ: 28
  16.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement