编写题解 1025: [编程入门]数组插入处理 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(int i) { int a[10],j,k; for(i=0;i<10;i++)scan…… 题解列表 2023年12月15日 0 点赞 0 评论 287 浏览 评分:6.0
题解 2944: 图像旋转翻转变换 摘要:```c #include #include #define MAX_SIZE 100 void rotate90Clockwise(int mat[MAX_SIZE][MAX_S…… 题解列表 2023年12月17日 0 点赞 0 评论 396 浏览 评分:6.0
题解 1050: [编程入门]结构体之成绩记录(超超超级简短) 摘要:```c #include #include struct student { char shuju[20]; char name[20]; int chines…… 题解列表 2023年12月17日 0 点赞 0 评论 267 浏览 评分:6.0
超级好用的题解,大家快来看啊!!!求个五星好评 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b; cin>>a>>b; …… 题解列表 2023年12月17日 0 点赞 3 评论 392 浏览 评分:6.0
压力给到print 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ double a,b,c; scanf("%lf%lf%lf", &…… 题解列表 2023年12月18日 0 点赞 0 评论 326 浏览 评分:6.0
判断首尾,如果相等就不断递归,直至结束或者判断出来首尾大小 摘要:解题思路:因为题目中是连续子序列,所以两个循环确定头尾,如果头大于尾,则肯定交换后小于之前数。如:54321交换后为12345。但是我们会碰到头尾相等的。如14321,那就比较第二个和倒数第二个这里就…… 题解列表 2023年12月19日 0 点赞 0 评论 435 浏览 评分:6.0
离线 + 哈希 摘要:解题思路:该题没有涉及修改操作,多次查询,离线一定 有机会优化出比在线更好的算法我们对查询的边界【l,r】中的r从左到右解决问题发现l肯定是越小越有机会yes,我们现在要解决的就是这个边界值l_bou…… 题解列表 2023年12月21日 0 点赞 0 评论 420 浏览 评分:6.0
2914: 铺地毯 摘要:``` #include using namespace std; const int N=10010; int a[N],b[N],g[N],k[N]; int main(){ int …… 题解列表 2023年12月24日 0 点赞 0 评论 247 浏览 评分:6.0
2905: 最大值和最小值的差 摘要:``` #include using namespace std; const int N=10010; int a[N],n,b,e,h; int main() { cin>>n; …… 题解列表 2023年12月26日 0 点赞 0 评论 342 浏览 评分:6.0
编写题解 2792: 三角形判断,禁止抄答案,否则第2天被雷劈 摘要:解题思路:注意事项:禁止抄答案,否则第2天被雷劈参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double a,b,s…… 题解列表 2023年12月31日 0 点赞 0 评论 294 浏览 评分:6.0