全部一直报错re,不知道什么问题,pycharm上正常运行,最后还是用c语言过了。。。
num,pin = list(map(int,input('').split(' '))) sum = 1 for i in range(pin): sum += sum*num print(sum)