Home > Back-end >  Hurry hurry hurry hurry, eldest sister help
Hurry hurry hurry hurry, eldest sister help

Time:09-17

Turn on the light game:
C ShiShi:
First of all, we have to enter a m and n, m for delegates, number n for the lamp,
The first man to a multiple of the lights are out, the second person to put all of the lights in multiples of 2 are open, the second one to three times the lights are all out of...
The final output location with the lights on,
Thank you very much!
Note (use C ShiShi)

CodePudding user response:

Is an integer power of 2 the lamp, two, four, eight, sixteen...

CodePudding user response:

Can a little graphics demo program, it is not difficult to,
  • Related