1231: 杨辉三角 摘要:```cpp #include using namespace std; int main() { int n,a[30][30]; while(cin>>n) …… 题解列表 2023年01月13日 0 点赞 0 评论 298 浏览 评分:6.0
陶陶摘苹果(水题) 摘要:```c #include int main(){ int a[11],i,n,cnt=0; for(i=0;i…… 题解列表 2023年01月13日 0 点赞 0 评论 387 浏览 评分:6.0
蓝桥杯2022年第十三届省赛真题-统计子矩阵 预处理+双指针 摘要:解题思路:先进行预处理,把每一列矩阵进行压缩,即a[i][j]等于原矩阵第j列第1行到第i行的和。三层for循环,第一层枚举子矩阵的起始行b,第二层枚举子矩阵的终点行i,第三层枚举子矩阵的终点列r。起…… 题解列表 2023年01月14日 0 点赞 0 评论 941 浏览 评分:6.0
阿巴阿巴阿巴,有一个测试点错了 摘要:解题思路:注意事项:参考代码:n,m=map(int,input().split())if n==10 and m==1: print('99.20')else: yv=n…… 题解列表 2023年01月14日 0 点赞 0 评论 415 浏览 评分:6.0
与圆相关的计算 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define PI 3.14159int main(){ double r,l,c,s; scanf("%lf",&r…… 题解列表 2023年01月15日 0 点赞 5 评论 1290 浏览 评分:6.0
看不懂上面的来这!!!!简单易懂 不高级 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int m,n,maxx=99999;char a[100][100];int b[…… 题解列表 2023年01月15日 0 点赞 0 评论 298 浏览 评分:6.0
蛇形填充数组(python) 摘要:## 前言 本题要考虑多个因素 一个是将填充的三角矩阵化为矩形矩阵 第二个是分段讨论,从左下到右上和从右上到左下交替进行 ## 蛇形填充 我们如果观察可以发现,题目中的填数是斜着填的,如果先…… 题解列表 2023年01月25日 0 点赞 0 评论 400 浏览 评分:6.0
向量点积计算 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i,ans=0; scanf("%d",&n); int a[n]; int b[n]; for(i…… 题解列表 2023年01月29日 0 点赞 0 评论 585 浏览 评分:6.0
2880: 计算鞍点 摘要:```cpp #include using namespace std; int a[10][10],max1,max2,f; bool b=true; int main() { fo…… 题解列表 2023年01月30日 0 点赞 0 评论 398 浏览 评分:6.0
求两个整数的最大公约数和最小公倍数 摘要:解题思路:用草稿研究的 , 适合初学者!想象一个数(变量)按顺序不断同时!求余a和b(==0)得出来的那一个数!就是最大公约数了(max=i);同理如果你知道最小公倍数的定义 这个变量就不断按a和b…… 题解列表 2023年01月31日 0 点赞 1 评论 222 浏览 评分:6.0