Who Ate My Cake?

Logic Level 2

Eileen bought a cake, and she put it on a table and left. There were four persons around, Andy, Brian, Calvin and Danny. One of them ate the cake while the others saw him eating it. When Eileen returned and saw the cake was missing, she asked who ate the cake and the replies were as follows:

Andy : Brian ate the cake.
Brian : Andy didn't eat the cake.
Calvin : Andy ate the cake.
Danny : Either Andy or Brian ate the cake.

If we know that exactly two of them were lying, then who ate the cake?

Andy Brian Calvin Danny It is impossible to tell

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

Pi Han Goh
May 27, 2016

Relevant wiki: Truth-Tellers and Liars

We are given that exactly of two of these 4 people are lying.

Because Brian and Calvin told contradictory statements, then exactly one of these two is telling the truth, while the other lied.
This leaves us with exactly one of Andy or Danny to be telling the truth while the other lied.

Suppose Brian ate the cake, then Andy is telling the truth and Danny is also telling the truth well,
which contradicts the condition that only one of them is telling the truth. So Brian couldn't have eaten the cake.
In other words, Andy is lying. This means that Danny must be telling the truth. From Danny's claim, we know that Andy or Brian ate the cake.
Because we have ruled out the fact that Brian could have eaten the cake, then Andy must be the only one that ate the cake .

Double checking shows that Andy and Brian lied, while Calvin and Danny told the truth. Hence, all the conditions are satisfied.

Rex Holmes
May 19, 2016

Two people are lying. Andy and Brian so we know that Andy ate the cake. Notice that almost everyone mentioned Andy. Andy blamed brian though so Andy ate the cake

Can you explain in further detail? Why must "Andy and Brian" be the ones that​ lie?

Calvin Lin Staff - 5 years ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...