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