Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
75703 谢润景 走方格-1 C++ 运行超时 60 1997 MS 256 KB 254 2026-07-11 21:27:20

Tests(6/10):


#include <bits/stdc++.h> using namespace std; int n,m,b[110][110]; int a(int n,int m){ if(n==1){ return 1; } else if(m==1){ return 1; } else{ return a(n-1,m)+a(n,m-1); } } int main(){ cin>>n>>m; cout<<a(n,m); return 0; }


测评信息: