| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 157027 | Kevin | 阿克曼函数 | C++ | Accepted | 181 MS | 396 KB | 244 | 2026-07-12 17:32:22 |
#include<bits/stdc++.h> using namespace std; int acm(int m,int n){ if(m==0) return n+1; else if(m>0&&n==0) return acm(m-1,1); else return acm(m-1,acm(m,n-1)); } int main() { int a,b; cin>>a>>b; cout<<acm(a,b); return 0; }