+ 2

Binary numbers

I came across this challenge online, and after trying everything i could think of i could not solve it. I'm hoping someone on here might have some useful suggestions for me. The problem is as follows: There is a lock with 2 binary numbers one on top of another: 0101101001 1101101101 The answer is a binary number as well, with a length of 10, what is the answer? _ _ _ _ _ _ _ _ _ _

22nd Jan 2019, 8:22 AM
Dave David
Dave David - avatar
3 Respuestas
+ 1
It looks like it might be about bitwise operations, but some information is missing. https://www.sololearn.com/learn/4070/?ref=app I played around a bit; if you use the operator & on the binary numbers, you get 361, which is 19*19 and the numbers of points on a go board. ;-)
22nd Jan 2019, 11:17 AM
HonFu
HonFu - avatar
+ 1
I ended up solving it, it was to do with XOR
22nd Jan 2019, 11:18 AM
Dave David
Dave David - avatar
+ 1
Thank you everyone for your contributions
22nd Jan 2019, 11:19 AM
Dave David
Dave David - avatar