You are viewing a single comment's thread. Return to all comments →
I am not able to understand.
n = str(bin(((int(i[0],2) | int(i[1],2)))))[2:].count('1')
Please explain
Seems like cookies are disabled on this browser, please enable them to open this website
ACM ICPC Team
You are viewing a single comment's thread. Return to all comments →
I am not able to understand.
n = str(bin(((int(i[0],2) | int(i[1],2)))))[2:].count('1')
Please explain