| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 147008 | 任艺宸 | 阿克曼函数 | C++ | Wrong Answer | 1 MS | 264 KB | 251 | 2026-02-02 10:56:32 |
#include<iostream> using namespace std; int a(int m,int n) { if(m==0)return n+1; if(m>0,n==0)return a(m-1,1); if(m,n-1)return a(m-1,a(m,n-1)); } int main(){ int m,n; cin>>m>>n; cout<<a(m,n)<<endl; return 0; }
------Input------
1 1
------Answer-----
3
------Your output-----
1