杨辉三角解题 摘要:解题思路:注意事项:参考代码:while True: try: def tri(row): List = [[1 for i in range(j)] for…… 题解列表 2023年02月13日 0 点赞 0 评论 505 浏览 评分:0.0
编写题解 1231: 杨辉三角 摘要:解题思路:注意事项:参考代码:#include "stdio.h" int main() { int n, i, j; int a[30][30]; while (scanf("%…… 题解列表 2023年01月23日 0 点赞 0 评论 528 浏览 评分:0.0
1231: 杨辉三角 摘要:```cpp #include using namespace std; int main() { int n,a[30][30]; while(cin>>n) …… 题解列表 2023年01月13日 0 点赞 0 评论 570 浏览 评分:6.0
1231基础解法(Python) 摘要:解题思路:没啥思路注意事项:注意print()才是空一行,print('\n')是空两行参考代码:lst_rec = list(map(int, input().split()))fo…… 题解列表 2022年12月26日 0 点赞 0 评论 473 浏览 评分:0.0
小白基础版)杨辉三角 摘要:解题思路:基本操作注意事项:参考代码:#include<stdio.h>int deal(int n);int main(){ int a; while(scanf("%d",&a)!=E…… 题解列表 2022年11月21日 0 点赞 0 评论 711 浏览 评分:9.3
杨辉三角, 三种方法: 组合数 || 递归 || 迭代,都很简单 #includelonglongFun(intn,intm)//组合数,注意大组合数{if(n 题解列表 2022年11月14日 0 点赞 0 评论 1300 浏览 评分:9.9
1231-杨辉三角(代码简洁,思路清晰) 摘要:```cpp #include using namespace std; int a[30][30]; //1>n) //输入多组数据,按ctrl+z键退出循环 { for(in…… 题解列表 2022年10月13日 0 点赞 0 评论 479 浏览 评分:0.0
111111111111111111111111111111111111111111111111111111111111 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i,j,a[100][100]; while(scanf("%d",&n)==1) …… 题解列表 2022年08月06日 0 点赞 0 评论 859 浏览 评分:0.0
1231: 杨辉三角 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;long long a[35][35],n;int main(){ a[1][1]=…… 题解列表 2022年05月22日 0 点赞 0 评论 558 浏览 评分:0.0
动态规划解题 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n; while(scanf("%d",…… 题解列表 2022年04月07日 0 点赞 0 评论 545 浏览 评分:0.0