Comment

Comment by ThePadawan

> Example 2: A says: "I am a knave, but B isn't."

> (...code here...)

>

> Thus, in this example, both A and B are knaves.

Under the premise that knaves always lie, if A is a knave, then their statement "I am a knave" must have been a lie, thus this solution cannot be correct.

parent ThePadawan 7 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton