A binary message, 24 digits long, is being transmitted via a satellite from the USA to Australia. This message is being sent 1 digit at a time. However, after a some digits have passed, a glitch causes all the digits after it has activated to revert to their counterpart (1 becomes 0 and 0 becomes 1) whilst being sent. This is the message received in Australia:
111010101000111001100111
If there were originally 12 1's and 12 0's in the transmission (there are 14 1's and 10 0's now), in how many places could the glitch have started to affect the transmission?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Python 3:
⟹
⟹ 1 0