题解 1050: [编程入门]结构体之成绩记录(超超超级简短) 摘要:```c #include #include struct student { char shuju[20]; char name[20]; int chines…… 题解列表 2023年12月17日 0 点赞 0 评论 202 浏览 评分:6.0
超级好用的题解,大家快来看啊!!!求个五星好评 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b; cin>>a>>b; …… 题解列表 2023年12月17日 0 点赞 3 评论 316 浏览 评分:6.0
压力给到print 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ double a,b,c; scanf("%lf%lf%lf", &…… 题解列表 2023年12月18日 0 点赞 0 评论 247 浏览 评分:6.0
判断首尾,如果相等就不断递归,直至结束或者判断出来首尾大小 摘要:解题思路:因为题目中是连续子序列,所以两个循环确定头尾,如果头大于尾,则肯定交换后小于之前数。如:54321交换后为12345。但是我们会碰到头尾相等的。如14321,那就比较第二个和倒数第二个这里就…… 题解列表 2023年12月19日 0 点赞 0 评论 356 浏览 评分:6.0
离线 + 哈希 摘要:解题思路:该题没有涉及修改操作,多次查询,离线一定 有机会优化出比在线更好的算法我们对查询的边界【l,r】中的r从左到右解决问题发现l肯定是越小越有机会yes,我们现在要解决的就是这个边界值l_bou…… 题解列表 2023年12月21日 0 点赞 0 评论 335 浏览 评分: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 评论 176 浏览 评分: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 评论 247 浏览 评分:6.0
编写题解 2792: 三角形判断,禁止抄答案,否则第2天被雷劈 摘要:解题思路:注意事项:禁止抄答案,否则第2天被雷劈参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double a,b,s…… 题解列表 2023年12月31日 0 点赞 0 评论 213 浏览 评分:6.0
2789: 骑车与走路2789: 编写题解 2789: 骑车与走路 标题骑车与走路2789: 骑车与走路2789: 骑车与走路2789: 骑车与走路2789: 骑车与走路2789: 骑车与走路27 摘要:解题思路:dsvrfgdsf注意事项:adfvgdsvvsfdvr参考代码:#include <bits/stdc++.h>using namespace std;int main(){double …… 题解列表 2024年01月06日 0 点赞 0 评论 288 浏览 评分:6.0
编写题解 3040: An Easy Problem 摘要:解题思路:就那样注意事项:参考代码:#include <stdio.h>#include <stdbool.h>int js(int i) { int t = 0; while (i > …… 题解列表 2024年01月07日 0 点赞 0 评论 234 浏览 评分:6.0