Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
119500 | 吴梓玄 | 阿克曼函数 | Python3 | Compile Error | 0 MS | 0 KB | 235 | 2025-05-17 17:16:04 |
def akm(m,n): if m==0: return n+1 elif n==0 and m>0: return akm(m-1,1) elif m>0 and n>0: return akm(m-1,akm(m, n-1)) else: pass m,n=input().split() m=int(m) n=int(n) print(akm(m,n))
Sorry: TabError: inconsistent use of tabs and spaces in indentation (Main.py, line 8)