See: https://www.quantamagazine.org/20150722-solution-information-from-randomness
The article reasons as follows:
Given 2 arbitrary numbers A < B.
Choose a number G.
Case 1. G < A < B
You see a number larger than G. Select it. You'll be right 0.5 of the time.
Case 2. A < B < G
You see a number less than G. Chose the other. You'll be right 0.5 of the time.
Case 3. A < G < B. If you see a number < G choose the other. If > G, keep it. You're right 100% of the time.
Therefore the total probability of being right is > 0.5.
I think the problem is that the probability of, say, Case 3 occurring is (B-A)/Infinity or undefined. So the weighted sum of probabilities is undefined. So the article is wrong.
Is there a flaw in my logic or theirs?