蓝桥杯2023年第十四届省赛真题-整数删除 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<queue>#include<vector>using namespace std;using ll = long …… 题解列表 2024年03月20日 2 点赞 0 评论 1312 浏览 评分:9.9
二维数组线性dp(C++) 摘要:#include using namespace std; const int N = 110; int f[N][N]; int a[N][N]; int main() { int …… 题解列表 2024年03月20日 0 点赞 0 评论 239 浏览 评分:9.9
矩阵最大值c++ 摘要:```cpp #include using namespace std; int main() { int m, n; int a[101][101]; whi…… 题解列表 2024年03月20日 0 点赞 0 评论 765 浏览 评分:9.9
信息学奥赛一本通T1255-迷宫问题 摘要:解题思路:使用宽度优先搜索解题注意事项:题目测试数据不好,一定要使用{ { -1, 0 }, { 0, -1 }, { 1, 0 }, { 0, 1 } };这个顺序不然会报答案错误.参考代码:imp…… 题解列表 2024年03月21日 0 点赞 0 评论 366 浏览 评分:9.9
动态规划求最长下降子序列和最长上升子序列 摘要:#include <bits/stdc++.h> using namespace std; const int N = 30000 + 10; int a[N], f1[N], f2[N…… 题解列表 2024年03月21日 1 点赞 0 评论 391 浏览 评分:9.9
蓝桥杯【3150】一种做法~ 摘要:## 3150的一种解法 **第一次写题解,不好勿喷** ### 直接上代码 ```c++ #include using namespace std; int fin…… 题解列表 2024年03月21日 0 点赞 0 评论 380 浏览 评分:9.9
有规律的数列求和c语言解法利用函数构造 摘要:解题思路:构造两个函数分别求出分子和分母注意事项:参考代码:#include<stdio.h>double fun(int m){ int f[10000]; f[0]=2; f[1]=3; for(…… 题解列表 2024年03月21日 0 点赞 0 评论 334 浏览 评分:9.9
Jayden-数据结构-链表的基本操作(自定义函数实现模块化功能) 摘要:解题思路: 本题是一道很简单的结构体基本操作的问题,需要注意实现各个功能的代码逻辑问题自定义函数:①创建链表(createList)②创建节点(createNode)③插入节点(注意输入的顺序与…… 题解列表 2024年03月21日 0 点赞 0 评论 473 浏览 评分:9.9
2838: 有趣的跳跃 摘要:参考代码:choose = input().split() if len(choose) == 1: n = int(choose[0]) arr = list(map(int,…… 题解列表 2024年03月21日 0 点赞 1 评论 385 浏览 评分:9.9
字符串的修改实现 摘要: 实现字符删除就是看字符串长度是否相同,如果两个字符串大小不相同就要删 实现字符串的修改就是匹配两个字符串的各个字符对应是否相同如果不相同就要修改 #include #incl…… 题解列表 2024年03月21日 0 点赞 0 评论 793 浏览 评分:9.9