Friday, 15 April 2016

People in this town either always tells the truth or always tells a lie. You meet a farmer, a politician, and a salesman at a crossroad and ask for...

Each
person either always tells the truth or always tells a lie. In these kinds of problems, such
persons are usually called "knights" and "liars," respectively.


Consider two possibilities: the salesman is a knight, or the salesman is a
liar.

1. Suppose the salesman is a knight. Then he is correct about both the
farmer and the politician lying, so they are both liars, and all...

No comments:

Post a Comment