you are given a bulb connected with N switches A switches can be either ON or OFF respresented as 1 or 0 the bulb will glow only when there are [N\2] (where [x] is the smallest integer that is greater than or equal to X ) switches ON or set 1 there are Q queries where each query is given a switch position x which is toggled
Answers
Answered by
0
kfxkfxkgdktdktdoyoyfoy
Similar questions