1574: 蓝桥杯算法提高VIP-选择排序(c++) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; void pai(int a[],int i,int n) { int min=…… 题解列表 2022年02月14日 0 点赞 0 评论 360 浏览 评分:0.0
蓝桥杯算法提高VIP-3000米排名预测(C++语言) 摘要:#include<iostream> using namespace std; //存储每次递归后对应的排列情况 int a[12]; //标记数组 vis[12]; //存储围观党的判…… 题解列表 2022年02月14日 0 点赞 0 评论 839 浏览 评分:9.9
Hifipsysta-2030-树的中序遍历(C++代码)试了很多次终于搞定了 摘要:```cpp #include #include using namespace std; const int MAXN=2001; struct node{ int data…… 题解列表 2022年02月13日 0 点赞 0 评论 546 浏览 评分:0.0
编写题解 2252: 蓝桥杯算法提高-矩阵转置 C++ 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int m,n; int a[20][20],b[20]…… 题解列表 2022年02月13日 0 点赞 0 评论 655 浏览 评分:9.9
Hfipsysta-2177-信息学奥赛一本通T1252-走迷宫(C++代码)广搜BFS 摘要:```cpp #include #include #include using namespace std; const int MAXN=40; char map[MAXN][MAX…… 题解列表 2022年02月13日 0 点赞 0 评论 550 浏览 评分:0.0
Hifipsysta-1672-迷宫问题(C++代码)终于做对了 摘要:```cpp #include #include #include using namespace std; const int MAXN=100; int N,M; int fin…… 题解列表 2022年02月13日 0 点赞 0 评论 522 浏览 评分:0.0
回文串(新奇的思路 生成回文串) 摘要:采用生成回文串的方法,单独开辟一个bool[i][j] 数组来判定字符串S[i...j]是否是回文串,而非采用双指针偏移判断。看上去多此一举,主要是为了将“判断回文”的操作分离,如果是在更复杂的操作中…… 题解列表 2022年02月13日 0 点赞 0 评论 1053 浏览 评分:9.9
送分啦,送经验啦!! 摘要:解题思路:没啥说的注意事项:没啥说的参考代码:#include<bits/stdc++.h>using namespace std;int main(){cout<<"yes"; return …… 题解列表 2022年02月12日 0 点赞 0 评论 472 浏览 评分:6.0
Hifipsysta-1686-数据结构-定位子串(C++代码) 摘要:```cpp #include #include using namespace std; int main(){ string a,b; while(cin>>a>>…… 题解列表 2022年02月12日 0 点赞 0 评论 484 浏览 评分:0.0
简单的字符串(有思路C++) 摘要: #include using namespace std; // 因为每次只用对比后一个字符,所以这样模拟就行,但是 // 要注意最后一个字符怎么输出,其方法是…… 题解列表 2022年02月12日 0 点赞 0 评论 578 浏览 评分:0.0