Light bulbs 9.15 icpc shanghai
There areNlight bulbs indexed from00toN−1N−1. Initially, all of them are off.
A FLIP operation switches the state of a contiguous subset of bulbs.FLIP(L,R)FLIP(L,R)means to flip all bulbsxxsu...
原创
2019-09-28 15:41:50 ·
98 阅读 ·
0 评论