题目:
题解:
python
class Solution:
def bulbSwitch(self, n: int) -> int:
return int(sqrt(n + 0.5))
题目:
题解:
class Solution:
def bulbSwitch(self, n: int) -> int:
return int(sqrt(n + 0.5))