[UVA][bfs] 12135 - Switch Bulbs
You are given n bulbs and m switches. Each of the switches
toggles a list of bulbs. Initially all the
bulbs are turned off. Now for a set of desired states of the bulbs calculate
the minimum number of switch presses required to reach that state.
Input
Input...