蓝桥杯2023年第十四届省赛真题-飞机降落: C++, dfs 摘要: ```cpp #pragma warning(disable:4996) #include using namespace std; int T, n; int t,…… 题解列表 2024年03月26日 0 点赞 0 评论 377 浏览 评分:0.0
java解法动态规划 摘要:import java.util.Scanner; public class Main { private static final int MOD = 1000000007; …… 题解列表 2024年03月26日 0 点赞 0 评论 244 浏览 评分:0.0
小白随便写的,记录一下 摘要:```python rmb = [100, 50, 10, 5, 2, 1] def change_money(li): new_li = [0 for i in range(len(r…… 题解列表 2024年03月26日 0 点赞 0 评论 287 浏览 评分:0.0
小白随便写的,记录一下 摘要:```python def max_join(a, b, n): a.sort() b.sort(reverse=True) max_join = 0 # 记录最大配…… 题解列表 2024年03月26日 0 点赞 0 评论 227 浏览 评分:0.0
2656: 蓝桥杯2022年真题-刷题统计(快速) 摘要:```cpp #include using namespace std; typedef long long LL; int main() { LL a , b , n ,…… 题解列表 2024年03月26日 0 点赞 0 评论 476 浏览 评分:0.0
2657: 蓝桥杯2022年真题-修剪灌木(找规律) 摘要:##初始暴力做法(超时) ```cpp #include #include #include using namespace std; const int N = 1e4 + 10;…… 题解列表 2024年03月26日 1 点赞 0 评论 377 浏览 评分:0.0
迷宫问题(Java) 广搜 摘要:```java import java.util.*; public class Main { public static class jiegou { int x…… 题解列表 2024年03月26日 0 点赞 0 评论 249 浏览 评分:0.0
结构体!!! 摘要:不知道还有没有哪里可以改进的#include<stdio.h> int main() { struct{ int year; int month; int …… 题解列表 2024年03月26日 0 点赞 0 评论 190 浏览 评分:0.0
编写题解 2873: 字符串p型编码 摘要:解题思路:先在目标字符串加一个空格方便循环判断,而且count初始定义为1,意为从当前字符串的下一位开始算长度.在循环中判断,如果下一个字符和当前字符相同,count就++,否则输出;循环条件str.…… 题解列表 2024年03月26日 0 点赞 0 评论 338 浏览 评分:0.0
判断数组中第二个数的大小 摘要: #include //可以先排序然后找第二小 就是数组中第二个数字 int main() { int n; scanf("%d…… 题解列表 2024年03月26日 0 点赞 0 评论 267 浏览 评分:0.0