All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Logic > Liars and Knights
Unknown answers (Posted on 2003-05-13) Difficulty: 3 of 5
Timothy once visited a land of knights and liars,and met two inhabitants,A and B. He had the following conversation.

Timothy:A,is B a liar?
Timothy hears A's answer,but he will not tell you what it was.
Timothy:B,are you both liars?
Timothy hears B's answer,but he will not tell you what it was.
At this point,I will not tell you whether or not he knew what they were.

He once told his friend what questions he asked,but not what answers he got. The friend did not have enough information,so the following dialogue occurred.

Friend:Were your answers the same?
Timothy's friend hears his answer,and finally the friend has enough information to solve what A and B are.
What are they?

See The Solution Submitted by Tim Axoy    
Rating: 4.0000 (7 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
re: Solution | Comment 4 of 13 |
(In reply to Solution by Ravi Raja)

You say "So now, suppose that when Tim asked B if both of them were Liars, B answered No.Then either both A and B are Knights or A is a Liar and B is a Knight." But actually, if both are liars, B will also answer No, as he is a liar. So if both answers are No, then they are either both knights or both liars. You say correctly that If both answers are Yes then A is a knight and B a liar.

Your final answer of A is a knight and B is a liar depends on that having different answers to the questions, yet you had (correctly) said that the answers in that instance are both Yes.

The unique non-same answer would be for A is Liar, B is Knight, where the answers are Y and N.
  Posted by Charlie on 2003-05-13 04:30:43

Please log in:
Remember me:
Sign up! | Forgot password

Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (1)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Copyright © 2002 - 2018 by Animus Pactum Consulting. All rights reserved. Privacy Information