You are viewing a single comment's thread. Return to all comments →
my python 3 pretty simple approach and passes all test case:
a=input() b=input() x=int(a,2) y=int(b,2) p=0 for i in range(0,314160): p+=x^(y<<i) print(p%((10**9)+7))
Seems like cookies are disabled on this browser, please enable them to open this website
Xor and Sum
You are viewing a single comment's thread. Return to all comments →
my python 3 pretty simple approach and passes all test case: