News for hackers. Stuff that matters.
Re:Gaming CS Interviews by Ancalagon on Wednesday September 28, 2022 @01:00PM (#33010299)
Obviously I don't get the question. But, two switches, two lightbulbs, can't you just turn one switch on, leave one switch off, and see which lightbulb is lit? You only interact with each room once. Unless there's some funny business going on?

Edit: oh, the bulbs need to be off at the end? Nah

Re:Gaming CS Interviews by sudosysgen on Wednesday September 28, 2022 @02:46PM (#33011661)
I guess the idea is you turn both on for a while, then turn one off. The hottest one is the one that was recently turned off
Re:Gaming CS Interviews by Ancalagon on Wednesday September 28, 2022 @04:25PM (#33012808)
but then wouldn't one of the switches still be on? therefore one of the lights would be on, so you could correlate which switch was on with the on light?
Re:Gaming CS Interviews by sudosysgen on Thursday September 29, 2022 @10:27AM (#33021114)
You'd turn off the second switch right before entering, so that the bulb associated with it would be hotter.