蓝桥杯2021年第十二届国赛真题-大写 摘要:解题思路:如果是小写字母减去32,就得到大写字母if(a[i]>='a'&&a[i]<='z')a[i]=a[i]-32;注意事项:输入字符串,输出字符串;获得字符串长…… 题解列表 2021年08月15日 0 点赞 0 评论 1032 浏览 评分:7.2
蓝桥杯2021年第十二届省赛真题-杨辉三角形 摘要:解题思路: 参考https://blog.csdn.net/weixin_44091134/article/details/116748883做的注意事项: 参考代码:#include<iostrea…… 题解列表 2021年12月09日 0 点赞 1 评论 4001 浏览 评分:7.2
[竞赛入门]简单的a+b 摘要:解题思路:注意事项:参考代码:while True: a,b = map(int,input().split()) if a > 2**10 or b > 2**10: br…… 题解列表 2022年01月16日 0 点赞 0 评论 933 浏览 评分:7.2
优质题解 线段和点(很容易理解) 摘要:###方法 先将线段按左端点升序排列,再按右端点降序排列  这样排序,就只需看哪个点在线段上走…… 题解列表 2022年02月04日 0 点赞 1 评论 858 浏览 评分:7.2
蓝桥杯2020年第十一届省赛真题-成绩分析题解(C语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define N 10001int a[N];int main(){ int n;scanf("%d",&n); double m=0…… 题解列表 2022年02月13日 0 点赞 0 评论 1074 浏览 评分:7.2
蓝桥杯2020年第十一届国赛真题-循环小数C语言解法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int p,q,x; scanf("%d%d",&p,&q); …… 题解列表 2022年02月20日 0 点赞 0 评论 1172 浏览 评分:7.2
求平均值,并输出大于平均值的个数 摘要:解题思路:构建一个数组,存储输入的数据,并计算平均值,再次循环求大于平均值的个数注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ in…… 题解列表 2022年10月24日 0 点赞 0 评论 470 浏览 评分:7.2
年龄与疾病(C语言) 摘要:#include<stdio.h> void my_fun(int *p,int n) { double rate1,rate2,rate3,rate4; int a=0,b=0,c=0,…… 题解列表 2023年02月13日 0 点赞 0 评论 423 浏览 评分:7.2
滑动窗口+优先队列 Python解法 简洁写法 摘要:可以先把Leetcode上面这题写了[滑动窗口最大值](https://leetcode.cn/problems/sliding-window-maximum/submissions/50760610…… 题解列表 2024年03月04日 0 点赞 0 评论 992 浏览 评分:7.2
蓝桥杯2024年第十五届省赛真题-拔河 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;#define int long longtypedef pair<int,int…… 题解列表 2024年04月15日 3 点赞 3 评论 2140 浏览 评分:7.2