All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars
 perplexus dot info

 100 Lights and 100 Switches (Posted on 2022-11-28)
• There are precisely 100 lights in a huge room.
• A switch panel outside the room has 100 switches each corresponding to one light in the room.
• None of the switches or lights are labeled, so its extremely difficult to identify which switches turns on which light.
• Stan is standing outside of the room and his task is to map each switch to its corresponding light using a marker pen.
• He has to accomplish this mapping in a minimum number of trips to the room.
• Initially all the lights are turned off.

Determine the minimum number of times Stan needs to enter the room to complete the mapping of each switch to its corresponding light.

Notes:
• To check the state of a light Stan must enter the room. He cannot check it from outside.
• There is nothing related to the heating of a light.

 Submitted by K Sengupta Rating: 5.0000 (1 votes) Solution: (Hide) This can be done in no less than 7 entries into the room. For an explanation, refer to the solution submitted by Charlie in this location.

 Subject Author Date Guess number by cards hoodat 2022-12-23 13:17:46 No Subject K Sengupta 2022-12-14 05:21:54 re: solution KeiraFehon 2022-12-13 10:51:53 No Subject K Sengupta 2022-11-30 00:44:30 solution Charlie 2022-11-28 09:09:35 a maximum broll 2022-11-28 09:02:44

 Search: Search body:
Forums (0)