Skip to content

Instantly share code, notes, and snippets.

@xcombelle
Last active November 13, 2015 20:53
Show Gist options
  • Save xcombelle/34497074a73ef93be683 to your computer and use it in GitHub Desktop.
Save xcombelle/34497074a73ef93be683 to your computer and use it in GitHub Desktop.
count 3
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