Last active
November 13, 2015 20:53
-
-
Save xcombelle/34497074a73ef93be683 to your computer and use it in GitHub Desktop.
count 3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import random | |
a1,a0=0,0 | |
question = random.randint(0,2**32) | |
collection = [question]*2 | |
for i in range(999999): | |
collection += [random.randint(0,2**32)]*3 | |
random.shuffle(collection) | |
for x in collection: | |
x &= 0xFFFFFFFFFF | |
#magic here | |
print (a0) | |
print(question) | |
assert question == a0 | |
print(question) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment