Click here to Skip to main content
15,921,156 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
AnswerRe: A Life Or Death Problem Pin
OriginalGriff3-Dec-13 23:24
mveOriginalGriff3-Dec-13 23:24 
GeneralRe: A Life Or Death Problem Pin
Nagy Vilmos3-Dec-13 23:26
professionalNagy Vilmos3-Dec-13 23:26 
GeneralRe: A Life Or Death Problem Pin
Motor Viper3-Dec-13 23:38
professionalMotor Viper3-Dec-13 23:38 
GeneralRe: A Life Or Death Problem Pin
Nagy Vilmos4-Dec-13 0:17
professionalNagy Vilmos4-Dec-13 0:17 
GeneralRe: A Life Or Death Problem Pin
OriginalGriff4-Dec-13 0:30
mveOriginalGriff4-Dec-13 0:30 
GeneralRe: A Life Or Death Problem Pin
Nagy Vilmos4-Dec-13 0:35
professionalNagy Vilmos4-Dec-13 0:35 
GeneralRe: A Life Or Death Problem Pin
OriginalGriff4-Dec-13 0:37
mveOriginalGriff4-Dec-13 0:37 
AnswerRe: A Life Or Death Problem Pin
CBadger4-Dec-13 0:41
professionalCBadger4-Dec-13 0:41 
Griff was close but is foresee another problem.

I will agree they choose one person that will change a specific switch to a specific value and no one else ever will. So now lets say they choose that the prisoner counting changes the left switch ON. Now when anyone enters the room they can switch the Left switch OFF only 2 times. So when it is ON they switch it OFF until they did that 2, only the counting prisoner will ever switch the Left switch ON, and every time he does that he counts the number of times he does that. Now being that there is 23 prisoners (- 1 as the counter is excluded), the counter should switch the left switch ON 41 times. Because under worst case scenario if the first person were to switch OFF the left switch before the counter's first visit, when he counts to 41, most would have switched it twice, if not it would mean that once person only switched it once. Shucks | :-\
Loading signature...

. . . Please Wait . . .

GeneralRe: A Life Or Death Problem Pin
Motor Viper4-Dec-13 0:52
professionalMotor Viper4-Dec-13 0:52 
GeneralRe: A Life Or Death Problem Pin
CBadger4-Dec-13 1:34
professionalCBadger4-Dec-13 1:34 
GeneralRe: A Life Or Death Problem Pin
Freak304-Dec-13 1:41
Freak304-Dec-13 1:41 
GeneralRe: A Life Or Death Problem Pin
CBadger4-Dec-13 2:08
professionalCBadger4-Dec-13 2:08 
AnswerRe: A Life Or Death Problem Pin
Mohamad M. Mohamad4-Dec-13 2:12
Mohamad M. Mohamad4-Dec-13 2:12 
GeneralRe: A Life Or Death Problem Pin
PIEBALDconsult4-Dec-13 4:10
mvePIEBALDconsult4-Dec-13 4:10 
GeneralDave has decorated for X-mas, I see... Pin
Johnny J.3-Dec-13 22:22
professionalJohnny J.3-Dec-13 22:22 
GeneralRe: Dave has decorated for X-mas, I see... Pin
Dalek Dave3-Dec-13 22:40
professionalDalek Dave3-Dec-13 22:40 
GeneralRe: Dave has decorated for X-mas, I see... Pin
Johnny J.3-Dec-13 23:05
professionalJohnny J.3-Dec-13 23:05 
GeneralRe: Dave has decorated for X-mas, I see... Pin
Johnny J.4-Dec-13 2:04
professionalJohnny J.4-Dec-13 2:04 
GeneralCCC 4/12/13 Pin
Dalek Dave3-Dec-13 22:01
professionalDalek Dave3-Dec-13 22:01 
GeneralRe: CCC 4/12/13 Pin
OriginalGriff3-Dec-13 22:09
mveOriginalGriff3-Dec-13 22:09 
GeneralRe: CCC 4/12/13 Pin
DaveAuld3-Dec-13 22:16
professionalDaveAuld3-Dec-13 22:16 
GeneralRe: CCC 4/12/13 Pin
OriginalGriff3-Dec-13 22:27
mveOriginalGriff3-Dec-13 22:27 
GeneralRe: CCC 4/12/13 Pin
Dalek Dave3-Dec-13 22:40
professionalDalek Dave3-Dec-13 22:40 
GeneralSSD Lifespan Pin
Jacquers3-Dec-13 21:55
Jacquers3-Dec-13 21:55 
GeneralRe: SSD Lifespan Pin
DaveAuld3-Dec-13 22:05
professionalDaveAuld3-Dec-13 22:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.