An ancient tower has three floors. On the first floor, a guard speaks only the truth. On the second floor, a guard speaks only in lies. On the top floor, a guard alternates between truth and lies with each statement made. You ask the top-floor guard two questions in a row. Their first answer is 'Yes' and their second answer is 'Yes'. Are you on the top floor?
Yes
If the guard alternates truth and lies, they cannot give the exact same truth value ('Yes' and 'Yes' or 'No' and 'No') to two consecutive questions unless they are lying twice or telling the truth twice—which violates strict alternation. Wait, let's re-evaluate: If they alternate, sequence must be Truth then Lie, or Lie then Truth. If first answer is Yes (Truth) and second is Yes (Lie), or first is Yes (Lie) and second is Yes (Truth)... wait, if a liar says 'Yes', the reality is 'No'. If a truth-teller says 'Yes', the reality is 'Yes'. To get two 'Yes' answers while alternating, one statement must be a true 'Yes' and the other must be a false 'Yes' (meaning the truth is 'No'). But the question asks 'Are you on the top floor?' If the answer is Yes, and we deduce the logic of alternating truth/lie, it is consistent that the top-floor guard produces this paradox only when addressed directly.
About this riddle
Logic riddles give you a few facts and ask what must be true. List what you know, cross out what cannot be, and see what is left.
Difficulty: Hard. More like this: Logic riddles with answers or try Einstein's Logic Grid for a different kind of puzzle.
More logic riddles
The clock is smaller than the firework, and the firework is smaller than the party hat. Which one is the biggest?
Five runners finish a school marathon, and only these facts survive. Jonas finished ahead of Felix. Felix finished ahead of Gwen. Aria finished ahead of Jonas. Gwen finished ahead of Elena. Who finished last?
Two people are playing a game with a row of 10 coins, all showing heads. On a turn, a player can flip either one coin or two adjacent coins, provided the rightmost coin in their selection changes from tails to heads (or stays heads? No: provided the rightmost coin flipped goes from heads to tails). The player who makes the last move wins. If both players play perfectly, who wins?
The book is bigger than the student, and the eraser is bigger than the book. Which one is the middle size?
A clock loses exactly 2 minutes every single hour. Exactly at midnight, it is set to the correct time. What will be the true, correct time when this clock next shows midnight?
I am an odd three-digit number. All of my digits are different. My tens digit is the sum of my hundreds and units digits. My hundreds digit is 1. What number am I?

