2042: 杨辉三角2.0版 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;long long a[1005][1005];int main(){ in…… 题解列表 2023年07月21日 0 点赞 0 评论 188 浏览 评分:0.0
题解 2042: 杨辉三角(Java) 摘要: import java.util.Scanner; public class Main { public static void main(String…… 题解列表 2021年02月26日 0 点赞 0 评论 216 浏览 评分:0.0
2042: 杨辉三角 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;long long a[1005][1005];int main(){ in…… 题解列表 2023年07月20日 0 点赞 0 评论 110 浏览 评分:0.0
2042: 杨辉三角 摘要:解题思路:杨辉三角形满足完全平方公式((a+b)²=a²+2ab+b²)可以根据这个公式写程序注意事项:开数组时多开一些,防止越界参考代码:#include <bits/stdc++.h>//万能头文…… 题解列表 2024年05月25日 0 点赞 0 评论 100 浏览 评分:0.0
题解 2042: 杨辉三角 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const ll N =1e3;ll a…… 题解列表 2024年05月26日 0 点赞 0 评论 128 浏览 评分:0.0
杨辉三角——python 摘要:解题思路:注意事项:参考代码:n,m = map(int,input().split())L = [[1],[1,1]]for i in range(1,n): a = L[i] b = …… 题解列表 2023年04月07日 0 点赞 0 评论 121 浏览 评分:0.0