[竞赛入门]简单的a+b 摘要:解题思路:注意事项:参考代码:while True: a,b = map(int,input().split()) if a > 2**10 or b > 2**10: br…… 题解列表 2022年01月16日 0 点赞 0 评论 866 浏览 评分:7.2
优质题解 线段和点(很容易理解) 摘要:###方法 先将线段按左端点升序排列,再按右端点降序排列  这样排序,就只需看哪个点在线段上走…… 题解列表 2022年02月04日 0 点赞 1 评论 759 浏览 评分: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 评论 998 浏览 评分: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 评论 1080 浏览 评分:7.2
求平均值,并输出大于平均值的个数 摘要:解题思路:构建一个数组,存储输入的数据,并计算平均值,再次循环求大于平均值的个数注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ in…… 题解列表 2022年10月24日 0 点赞 0 评论 384 浏览 评分: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 评论 303 浏览 评分:7.2
滑动窗口+优先队列 Python解法 简洁写法 摘要:可以先把Leetcode上面这题写了[滑动窗口最大值](https://leetcode.cn/problems/sliding-window-maximum/submissions/50760610…… 题解列表 2024年03月04日 0 点赞 0 评论 877 浏览 评分:7.2
蓝桥杯2024年第十五届省赛真题-拔河 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;#define int long longtypedef pair<int,int…… 题解列表 2024年04月15日 3 点赞 3 评论 1928 浏览 评分:7.2
数组输出 (C语言代码)--此题的题目描述有问题 摘要:解题思路:题目不难,但是题目描述感觉有问题。“找出该数组中绝对值最大的元素、输出该元素及其两个下标值”若输出的元素是 元素本身,怎么做都是错的。若输出的元素是元素的绝对值,此题才能通过。但是按照题目描…… 题解列表 2017年09月13日 6 点赞 4 评论 2287 浏览 评分:7.1