菲暃要加油——陶陶摘苹果(4行解决) 摘要:解题思路:引入python自带的 bisect库,可以很快的解决这个问题注意事项:用的是bisect_right函数参考代码:importbisectl=sorted(list(map…… 题解列表 2025年02月20日 1 点赞 0 评论 612 浏览 评分:10.0
矩形面积交 摘要:解题思路:通过画图可知,两矩形的边的表示方法注意事项:参考代码:a = list(map(float, input().split()))b = list(map(float, input().spl…… 题解列表 2025年02月20日 0 点赞 0 评论 213 浏览 评分:0.0
分数线划定 摘要:```cpp#include #include using namespace std;struct interviewer{ int number; int score;…… 题解列表 2025年02月20日 0 点赞 0 评论 273 浏览 评分:0.0
蓝桥杯2016年第七届真题-路径之谜dfs 摘要:```cpp#includeusing namespace std;const int N=30;int n;int a[N],b[N];//西和北方向上的箭数 注意先西再北…… 题解列表 2025年02月20日 1 点赞 0 评论 386 浏览 评分:10.0
比较容易理解的代码 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int a[105][105];void move(int &x…… 题解列表 2025年02月20日 0 点赞 0 评论 337 浏览 评分:0.0
2024年第十五届省赛真题-R 格式 摘要:#include<stdio.h>#include<string.h>intcnt=0;inta[100…… 题解列表 2025年02月20日 12 点赞 0 评论 2624 浏览 评分:10.0
[信息学奥赛一本通T1498-Roadblocks] dijkstra扩展-链式前向星版 摘要:众所周知 dijkstra通常用来求单源最短路的问题但是此题需要求 第二短路我们只需要在dijkstra板子上略微修改 称之为--dijkstra扩展算法通常我们会开一个dist数…… 题解列表 2025年02月21日 1 点赞 0 评论 359 浏览 评分:10.0
递推公式:成虫繁殖 摘要:```cpp/*题目描述科学家在热带森林中发现了一种特殊的昆虫,这种昆虫的繁殖能力很强。每对成虫过x个月产y对卵,每对卵要过两个月长成成虫。假设每个成虫不死,第一个月只有一对成虫,且卵长成…… 题解列表 2025年02月21日 0 点赞 0 评论 390 浏览 评分:0.0
3222: 蓝桥杯2024年第十五届省赛真题-回文数组 摘要:解题思路:注意事项:参考代码:n = int(input())arr = list(map(int,input().split()))length = int(len(arr) / 2)a=[0]*l…… 题解列表 2025年02月21日 0 点赞 0 评论 729 浏览 评分:0.0
编写题解 1332: 津津的储蓄计划(注释清晰,简单易懂) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[12] = { 0 };  …… 题解列表 2025年02月15日 2 点赞 0 评论 398 浏览 评分:10.0