| 比赛 | 20130923 | 评测结果 | MMMMMMMMMM |
|---|---|---|---|
| 题目名称 | 邮递员 | 最终得分 | 0 |
| 用户昵称 | /k | 运行时间 | 0.000 s |
| 代码语言 | C++ | 内存使用 | 0.00 MiB |
| 提交时间 | 2015-10-12 21:34:56 | ||
#include<iostream>
#include<cstdio>
using namespace std;
int c[25][25];
int main()
{
freopen("postman.in","r",stdin);
freopen("postman.out","w",stdout);
int n,m;
scanf("%d%d",&n,&m);
c[1][1]=1;
for(int i=1;i<=n;i++)
for(int y=1;y<=n;y++)
c[i][y]+=c[i-1][y]+c[i][y-1];
printf("%d",c[n][m]);
/*getchar();
getchar();*/
}