We don’t "all know that men hate to ask for directions,"
Rebecca. This is a stereotype created to protect women
from the embarrassment that they are poor map readers. A
man reads a map, if he can, and asks directions if he
must. A woman asks directons only, because a map is not
helpful to her.
That's the first thing that popped into my head when I read that sentence. Hey, me too! Male, male, male, male, male. 4/5 correct. I'm a genius.
70% to 80% of the time I can also guess whether a date in history was a weekday, whether the stock market will rise or fall for a calendar year, and whether your last bathroom visit was a #1 or #2.
Ok, back to writing my cryptic non-commented strings of computer instructions.
Also, your code should read like this for extra safeness:
Assuming that she was being cynical, and consistently guessing "male", then you'd be right. However, if she were truly guessing randomly, you'd only expect her to be right (.5(.8) + .5(.2)) * 100 = 50% of the time.
All you can conclude is that whatever strategy she's using, it's about as good as the best non-random strategy you could devise given prior knowledge of the situation.