class Solution:
def bulbSwitch(self, n: int) -> int:
return int(sqrt(n + 0.5))
灯泡开关python
最新推荐文章于 2022-04-04 13:09:43 发布
class Solution:
def bulbSwitch(self, n: int) -> int:
return int(sqrt(n + 0.5))