+ 2

<!--TASK OF THE DAY-->

A hundred prisoners are each locked in a room with three pirates, one of whom will walk the plank in the morning. Each prisoners has ten bottles of wine, on of which has been poisoned; and each pirate has twelve coins, one of which is counterfeit and weighs either more or less than a genuine coin. In the room is a single switch, which the prisoner may either leave as it is or flip. Before being led into the rooms, the prisoners are all made to wear either a red hat or a blue hat; they can see all th eother prisoners' hats but not their own. Meanwhile, a six-digit prime number of monkeys multiply until their digits reverse, then all have to go across a river using a canoe that can hold at most two monkeys at a time. But half the monkeys always lie and the other half always tell the truth. Given that the Nth prisoner knows that one of the monkeys doesn't know that a pirate doesn't know the product of two numbers between 1 and 100 without knowing that the N + 1th prisoner has flipped the switch in his room or not after having determined which bottle of wine was poisoned and what color his hat is. What is the solution to this puzzle?

26th Jul 2017, 7:21 AM
Baurzhan Kozhaev
Baurzhan Kozhaev - avatar
16 Answers
+ 8
Just too long🙅
26th Jul 2017, 7:20 AM
Nomeh Uchenna Gabriel
Nomeh Uchenna Gabriel - avatar
+ 7
What's the question??¿¿
26th Jul 2017, 10:35 AM
Sumit
Sumit - avatar
+ 5
Reading this early in the morning makes me say there is no solution to this problem because it's a concatenation of various other problems 😛
26th Jul 2017, 7:31 AM
Drax
Drax - avatar
+ 5
3
26th Jul 2017, 8:01 AM
The Coding Sloth
The Coding Sloth - avatar
+ 4
what is the question?
26th Jul 2017, 7:40 AM
wolfsan
wolfsan - avatar
+ 3
the answer is following: public class soloLearner() { private int humorSense = 0; private int outLaught = 0; private int relax = 0; public soloLearner(int relax) { relax = relax(); } public int readThought() { while (relax <= 10){ humorSense ++; while (humorSense <= 10){ outLaugh ++; } } public static void main(String args[]){ public soloLearner = new soloLearner(10); System.out.println(soloLearner.readThrough()) } } ------------------------------------------------------------- //output is: http://devhumor.com/#_=_ Thank you
26th Jul 2017, 9:22 AM
Baurzhan Kozhaev
Baurzhan Kozhaev - avatar
+ 3
so in short; 100 prisoners 3 pirates for each prisoner, one of them will walk the plank 10 bottles of wine for each prisoner with one bottle being poisoned 12 coins for each pirate one of them is fake 1 switch in each prisoner's room, he can flip or do nothing. red or blue hat given to each prisoner. prisoners can see other's hat but not own Meanwhile....... a six digit prime no. of monkeys multiply until the six digit number reverses they have to cross river in a canoe two at a time.. half of monkeys lie and half of them tell truth now the question....... given that n th no. of prisoner know that a monkey doesn't know that a pirate doesn't know the product of two numbers between 1 and 100 without knowing that n+1th prisoner has flipped the switch or not after having determined which bottle of wine is poisoned and what color his hat is personally...... i don't see a question here he just stated some conditions, even those conditions don't ask any question WHERE IS THE QUESTION???
26th Jul 2017, 1:37 PM
‎ ‏‏‎Anonymous Guy
+ 3
Who else didn't bother reading this looong essay of a question?
26th Jul 2017, 3:36 PM
Bode Nathaniel
Bode Nathaniel - avatar
+ 2
people turn your sense of humour on being a programmer doesn't mean to be so serious
26th Jul 2017, 2:15 PM
Baurzhan Kozhaev
Baurzhan Kozhaev - avatar
26th Jul 2017, 2:20 PM
Baurzhan Kozhaev
Baurzhan Kozhaev - avatar
+ 1
What is the solution of the puzzle
26th Jul 2017, 11:54 AM
Baurzhan Kozhaev
Baurzhan Kozhaev - avatar
+ 1
you mean answer instead question
26th Jul 2017, 1:39 PM
Baurzhan Kozhaev
Baurzhan Kozhaev - avatar
+ 1
no, i mean question if you see the question @baurzhan show me
26th Jul 2017, 2:08 PM
‎ ‏‏‎Anonymous Guy
+ 1
question is what's the solution of the puzzle? and answer is http://devhumor.com/media/job-interview-question
26th Jul 2017, 2:11 PM
Baurzhan Kozhaev
Baurzhan Kozhaev - avatar
0
that's way too long question for a humour question anyways i didn't find answer on the site
26th Jul 2017, 2:18 PM
‎ ‏‏‎Anonymous Guy
- 1
interesting.....
26th Jul 2017, 2:43 PM
‎ ‏‏‎Anonymous Guy