Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
39749 qwertyuiop 迷宫游戏(game)(2024岳阳市赛小学组) C++ 通过 0 MS 276 KB 250 2024-05-05 14:24:01

Tests(12/12):


#include<bits/stdc++.h> using namespace std; int n,m; long long dt[55][55]; int main(){ cin>>n>>m; dt[0][1]=1; for(int i=1;i<=n;i++){ for(int j=1;j<=m;j++){ dt[i][j]=(dt[i-1][j]+dt[i][j-1]); } } cout<<dt[n][m]; return 0; }


测评信息: