Gotta follow Price is Right rules. Closest without going over.
My partner is non-binary, so this search wouldn’t work on them.
Quantum partner.
the mistake was assuming the upper limit ended at 100
Obviously you should use an exponential search, assuming you don’t know the age of the oldest human.
Watch out, starting at 50 for binary search will fail if they are 100+ years old. Stay woke.
There’s no right answer to that question. The only winning move is not to play.
Jokes on you, refusing to play is also a losing move. The only winning move is to guess 2-3 years less than the correct answer, by sheer luck.
If she is not 64 then she is 32.
If she is not 32 then she is 16.
overthere.sit(self)
Yes, people some times live up to 120 years. You should start at 60.
With the limits of longevity still being pushed, I’d suggest sticking with the OP binary search theme and start at 64.
And for obvious reasons I think the minimum age has to be 18 so really you should start at 69 (heh, nice).
You have won at the Internet today! Well done!
Yes, do it in reverse. Ask her if she’s 25 first, then if she’s 50
What you want is a distribution-aware contextual binary search. With whatever information you have (appearance, personality, vocabulary, etc), you can come up with a probability distribution in the space of possible ages and start your guess with the value at the 50th percentile. Then depending on whether the true age is higher or lower, your next guess will be either the 25th or 75th percentile. Rinse and repeat.
In reality, the way most people intuitively do agree guessing is already an approximation of this procedure.
What now. “Don’t ask a girl her age” but if a girl asks her own age it’s also dangerous?
Girls are dangerous.
They have cooties.
Ewwww





