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 · 145 阅读 · 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 · 160 阅读 · 0 评论
分享