![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Math
codefreestyle
这个作者很懒,什么都没留下…
展开
-
672. Bulb Switcher II
题目链接 英文题目 中文题目 题目 There is a room with n lights which are turned on initially and 4 buttons on the wall. After performing exactly m unknown operations towards buttons, you need to return how many different kinds of status of the n lights could be. Suppose原创 2020-09-07 22:10:26 · 88 阅读 · 0 评论 -
Leetcode 319 Bulb Switcher
题目描述 英文题目 中文题目 题目 There are n bulbs that are initially off. You first turn on all the bulbs. Then, you turn off every second bulb. On the third round, you toggle every third bulb (turning on if it's off or turning off if it's on). For the i-th round, you t原创 2020-09-06 22:18:36 · 104 阅读 · 0 评论