2042: 杨辉三角 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const ll N =1e3;ll a…… 题解列表 2024年06月01日 0 点赞 0 评论 158 浏览 评分: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
题解 2042: 杨辉三角 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;const int N = 1e3+5;typedef long long ll;…… 题解列表 2024年05月26日 0 点赞 0 评论 99 浏览 评分:0.0
2042: 杨辉三角 摘要:解题思路:杨辉三角形满足完全平方公式((a+b)²=a²+2ab+b²)可以根据这个公式写程序注意事项:开数组时多开一些,防止越界参考代码:#include <bits/stdc++.h>//万能头文…… 题解列表 2024年05月25日 0 点赞 0 评论 99 浏览 评分:0.0
2042: 杨辉三角 摘要:解题思路:注意事项:注意const int N=1e3+5不是1e3如果是1e3会数据越界参考代码:#include <bits/stdc++.h>using namespace std;typede…… 题解列表 2024年05月25日 0 点赞 0 评论 175 浏览 评分:9.9
2042: 杨辉三角(感谢支持) 摘要:解题思路://我们来看一下代码重要的地方 //首先,我们一定要把这里的数组定义为long long int 形式,要不然会炸掉((╯‵□′)╯炸弹!•••*~●) long long int a[…… 题解列表 2023年07月21日 0 点赞 3 评论 161 浏览 评分:9.9
鸡你太美:坤坤三角 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;long long a[1005][1005];int main(){ in…… 题解列表 2023年07月21日 0 点赞 0 评论 175 浏览 评分:4.7
2042: 杨辉三角2.0版 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;long long a[1005][1005];int main(){ in…… 题解列表 2023年07月21日 0 点赞 0 评论 186 浏览 评分:0.0
2042: 杨辉三角 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;long long a[1005][1005];int main(){ in…… 题解列表 2023年07月20日 0 点赞 0 评论 109 浏览 评分:0.0
优质题解 杨辉三角(c++代码) 摘要:杨辉三角(在这里储存为直角正三角形) > 1 > 1 1 > 1 **2 1** > 1 3 **3** 1 > …… 看到这张图应该先想一下打印直角正三角形的代码 ```cpp …… 题解列表 2023年07月19日 0 点赞 5 评论 284 浏览 评分:8.4