网站首页 站内搜索

搜索结果

查询Tags标签: P1255,共有 2条记录
  • 【算法1-4】递推与递归【持续更新中】

    P1255 数楼梯 题目链接:P1255 数楼梯 - 洛谷 | 计算机科学教育新生态 (luogu.com.cn) #include <iostream> using namespace std; int a[5010][5010];int main() {a[0][0] = 1;a[1][0] = 1;int n;cin >> n;if (n == 0) {cout << 0;} else {for (int i …

    2021/11/22 9:10:09 人评论 次浏览
  • 【算法1-4】递推与递归【持续更新中】

    P1255 数楼梯 题目链接:P1255 数楼梯 - 洛谷 | 计算机科学教育新生态 (luogu.com.cn) #include <iostream> using namespace std; int a[5010][5010];int main() {a[0][0] = 1;a[1][0] = 1;int n;cin >> n;if (n == 0) {cout << 0;} else {for (int i …

    2021/11/22 9:10:09 人评论 次浏览
扫一扫关注最新编程教程