Click here to Skip to main content
15,896,269 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.

 
GeneralRe: CCC of the Day (A bit late) - Winner Pin
Richard Deeming12-Sep-16 3:04
mveRichard Deeming12-Sep-16 3:04 
GeneralRe: CCC of the Day (A bit late) - Winner Pin
SteveTheThread12-Sep-16 3:28
SteveTheThread12-Sep-16 3:28 
GeneralRe: CCC of the Day (A bit late) - Winner Pin
pkfox12-Sep-16 4:32
professionalpkfox12-Sep-16 4:32 
JokeRe: CCC of the Day (A bit late) Pin
Richard Deeming12-Sep-16 2:49
mveRichard Deeming12-Sep-16 2:49 
GeneralOi! SteveTheThread! Where is the CCC? Pin
OriginalGriff12-Sep-16 0:21
mveOriginalGriff12-Sep-16 0:21 
GeneralRe: Oi! SteveTheThread! Where is the CCC? Pin
SteveTheThread12-Sep-16 0:53
SteveTheThread12-Sep-16 0:53 
GeneralRe: Oi! SteveTheThread! Where is the CCC? Pin
OriginalGriff12-Sep-16 1:00
mveOriginalGriff12-Sep-16 1:00 
GeneralMPOTD Pin
Bassam Abdul-Baki11-Sep-16 23:49
professionalBassam Abdul-Baki11-Sep-16 23:49 
Math Problem OTD:

You have 1,000 locked rooms and 1,000 people.

The first person unlocks all the doors.
The second person reverses the lock on every second door (since the first person unlocked it, they would relock it).
The thirst person reverses the lock on every third door (unlocked → locked, locked → unlocked).
Etc., up to the 1,000th person.

How many locks are unlocked at the end?

P.S. - This isn't homework. One of my tutees asked me this which I answered.


modified 12-Sep-16 7:08am.

GeneralRe: MPOTD PinPopular
OriginalGriff11-Sep-16 23:57
mveOriginalGriff11-Sep-16 23:57 
GeneralRe: MPOTD Pin
Bassam Abdul-Baki12-Sep-16 0:11
professionalBassam Abdul-Baki12-Sep-16 0:11 
GeneralRe: MPOTD Pin
Herman<T>.Instance11-Sep-16 23:59
Herman<T>.Instance11-Sep-16 23:59 
GeneralRe: MPOTD Pin
den2k8812-Sep-16 0:17
professionalden2k8812-Sep-16 0:17 
GeneralRe: MPOTD Pin
Herman<T>.Instance12-Sep-16 0:18
Herman<T>.Instance12-Sep-16 0:18 
GeneralRe: MPOTD Pin
Bassam Abdul-Baki12-Sep-16 0:24
professionalBassam Abdul-Baki12-Sep-16 0:24 
GeneralRe: MPOTD Pin
Herman<T>.Instance12-Sep-16 0:44
Herman<T>.Instance12-Sep-16 0:44 
GeneralRe: MPOTD Pin
Bassam Abdul-Baki12-Sep-16 0:47
professionalBassam Abdul-Baki12-Sep-16 0:47 
GeneralRe: MPOTD Pin
Herman<T>.Instance12-Sep-16 0:52
Herman<T>.Instance12-Sep-16 0:52 
GeneralRe: MPOTD Pin
Bassam Abdul-Baki12-Sep-16 0:55
professionalBassam Abdul-Baki12-Sep-16 0:55 
GeneralRe: MPOTD Pin
Herman<T>.Instance12-Sep-16 1:18
Herman<T>.Instance12-Sep-16 1:18 
GeneralRe: MPOTD Pin
Bassam Abdul-Baki12-Sep-16 1:19
professionalBassam Abdul-Baki12-Sep-16 1:19 
GeneralRe: MPOTD Pin
Herman<T>.Instance12-Sep-16 1:25
Herman<T>.Instance12-Sep-16 1:25 
GeneralRe: MPOTD Pin
Kornfeld Eliyahu Peter12-Sep-16 1:27
professionalKornfeld Eliyahu Peter12-Sep-16 1:27 
GeneralRe: MPOTD Pin
Nelek12-Sep-16 2:20
protectorNelek12-Sep-16 2:20 
GeneralRe: MPOTD Pin
Kornfeld Eliyahu Peter12-Sep-16 2:23
professionalKornfeld Eliyahu Peter12-Sep-16 2:23 
JokeRe: MPOTD Pin
ZurdoDev12-Sep-16 1:10
professionalZurdoDev12-Sep-16 1:10 

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.