Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
68177 胡海峰老师 x的n次方 Python3 Accepted 28 MS 3768 KB 183 2024-03-19 20:19:57

Tests(10/10):


Code:

def power01(a,n): if n==0: return 1 if n==1: return a return a* power01(a,n-1) a,n = list(map(int,input().split())) res = power01(a,n) print(res)