Skip to content

Instantly share code, notes, and snippets.

@manpages
Created August 10, 2015 10:11
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
Get your bitmask!
if __name__ == "__main__":
zzz = (s.run("""
select distinct powerScore from scores
"""))[1]
z = 0
for x in zzz:
print(bin(z))
y = int(x[0]) #here goes the poweScore mask for a submission
z = z | y
print(bin(z))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment