231. 2的幂
1、移位class Solution(object):
def isPowerOfTwo(self, n):
"""
:type n: int
:rtype: bool
"""
c = 1
while c
关注
打赏
231. 2的幂
1、移位class Solution(object):
def isPowerOfTwo(self, n):
"""
:type n: int
:rtype: bool
"""
c = 1
while c
关注
打赏
微信扫码登录