| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 155420 | 黎瑾萱 | 阿克曼函数 | C++ | Accepted | 181 MS | 396 KB | 263 | 2026-06-07 11:43:15 |
#include<bits/stdc++.h> using namespace std; int age(int m,int n){ if(m==0){ return n+1; } else if(m>0&&n==0){ return age(m-1,1); } else{ return age(m-1,age(m,n-1)); } } int main(){ int a,c; cin>>a>>c; cout<<age(a,c); return 0; }