Created
August 10, 2015 10:11
-
-
Save manpages/ead27b5b301a0057afb8 to your computer and use it in GitHub Desktop.
Get your bitmask!
This file contains 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
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