presents you with three switches, one of which controls a light bulb inside a closed room. you are permitted to flip switches as much as you like, then you must open the door and say which switch controls the light bulb.
you don’t seem to have enough information. you can flip one switch and open the door. if the light is on then you have found your switch. however, if the light is off you can’t tell which of the other two switches controls the bulb.
the solution is to first flip a switch on for ten minutes, then off again. now flip a second switch on and open the door. leaving 