### IMO Shortlist 2005 problem C1

Kvaliteta:

Avg: 4,0Težina:

Avg: 6,0 A house has an even number of lamps distributed among its rooms in such a way that there are at least three lamps in every room. Each lamp shares a switch with exactly one other lamp, not necessarily from the same room. Each change in the switch shared by two lamps changes their states simultaneously. Prove that for every initial state of the lamps there exists a sequence of changes in some of the switches at the end of which each room contains lamps which are on as well as lamps which are off.

Izvor: Međunarodna matematička olimpijada, shortlist 2005