Techno Blender
Digitally Yours.

Puzzle | Octopus Empire – GeeksforGeeks

0 31


Improve Article

Save Article

Like Article

Improve Article

Save Article

There was an empire where lived a King Octopus with his few servants. The servants either had 6, 7, or 8 legs. It is known that:

  •  Seven-legged servants always lied. 
  •  6 and 8-legged servants always told the truth. 

Octopus Empire

One fine day, four servants gathered before the king, and they came up with four statements: 

  1. Servant A said, “Altogether, we have 28 legs.” 
  2. Servant B said, “Altogether, we have 27 legs.” 
  3. Servant C said, “Altogether, we have 26 legs.” 
  4. Servant D said, “Altogether, we have 25 legs.” 

How will King Octopus find the truthful speaker?

Solution: As we can see that the four are making different statements and since one of them speaks the truth, three are undoubtedly lying. This forms the base of our argument. 

  • Step 1: So, the three lying servants must have seven legs each, resulting in 21(i.e., 7 + 7 + 7) legs. 
  • Step 2: Now, the fourth servant speaking the truth must have 6 or 8 legs. Adding 21 to 6 gives 27 legs. Adding 21 to 8 gives 29 legs. 
  • Step 3: Since 29 legs are out of the options, hence it is proved that the 27 legs are the correct answer and Servant B is the truthful one.


Improve Article

Save Article

Like Article

Improve Article

Save Article

There was an empire where lived a King Octopus with his few servants. The servants either had 6, 7, or 8 legs. It is known that:

  •  Seven-legged servants always lied. 
  •  6 and 8-legged servants always told the truth. 

Octopus Empire

One fine day, four servants gathered before the king, and they came up with four statements: 

  1. Servant A said, “Altogether, we have 28 legs.” 
  2. Servant B said, “Altogether, we have 27 legs.” 
  3. Servant C said, “Altogether, we have 26 legs.” 
  4. Servant D said, “Altogether, we have 25 legs.” 

How will King Octopus find the truthful speaker?

Solution: As we can see that the four are making different statements and since one of them speaks the truth, three are undoubtedly lying. This forms the base of our argument. 

  • Step 1: So, the three lying servants must have seven legs each, resulting in 21(i.e., 7 + 7 + 7) legs. 
  • Step 2: Now, the fourth servant speaking the truth must have 6 or 8 legs. Adding 21 to 6 gives 27 legs. Adding 21 to 8 gives 29 legs. 
  • Step 3: Since 29 legs are out of the options, hence it is proved that the 27 legs are the correct answer and Servant B is the truthful one.

FOLLOW US ON GOOGLE NEWS

Read original article here

Denial of responsibility! Techno Blender is an automatic aggregator of the all world’s media. In each content, the hyperlink to the primary source is specified. All trademarks belong to their rightful owners, all materials to their authors. If you are the owner of the content and do not want us to publish your materials, please contact us by email – [email protected]. The content will be deleted within 24 hours.

Leave a comment