372. Super Pow
2016-12-24 本文已影响0人
阿团相信梦想都能实现
class Solution(object):
def superPow(self, a, b):
"""
:type a: int
:type b: List[int]
:rtype: int
"""
return pow(a,int(''.join(map(str,b))),1337)