Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from math import *
- exp = int(round(log2(0xdeadbeef),0))
- m = 0x2
- exps = exp % 20
- perm = int((factorial(exps)/factorial(exps-m)))
- pow = perm<<0xf
- #user input
- userinput = 322^pow
- ###################
- if(userinput == 0xfeedbeef):
- print("Win")
- else:
- print("bad")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement