319. Bulb Switcher
#319. Bulb Switcherclass Solution(object):
def bulbSwitch(self, n):
"""
:type n: int
:rtype: int
"""
return int(n**0.5)
class Solution(object):
def bulbSwitch(self, n):
"""
:type n: int
:rtype: int
"""
return int(n**0.5)
本文标题:319. Bulb Switcher [Medium] 数学题
本文链接:https://www.haomeiwen.com/subject/auazcctx.html
网友评论