http://codeforces.com/problemset/problem/509/A
题意:
输入n*n,除了第一行为1,后面都满足
res[i][j] = res[i - 1][j] + res[i][j - 1];
求二维数组中的最大值。
代码:
1 |
|
http://codeforces.com/problemset/problem/509/A
题意:
输入n*n,除了第一行为1,后面都满足
res[i][j] = res[i - 1][j] + res[i][j - 1];
求二维数组中的最大值。
代码:
1 | #include <bits/stdc++.h> |