蓝桥杯基础练习VIP-回形取数 dfs 摘要:解题思路: K控制方向注意事项:参考代码:#include <bits/stdc++.h> using namespace std; int arr[201][201]; int vis[20…… 题解列表 2022年03月13日 0 点赞 0 评论 374 浏览 评分:0.0
优质题解 1840: 蓝桥杯2015年第六届真题-赢球票(3.13) 摘要:解题思路:模拟题目描述的过程,暴力法注意事项:在遍历时要注意,因为每当索引与数字相同时都要,拿掉这张卡片,如果用数组存储卡片索引的话,要找到这张卡片并保证数组索引不越界较为困难和繁琐,换个思路--题目…… 题解列表 2022年03月13日 0 点赞 0 评论 1034 浏览 评分:0.0
编写题解 1046: [编程入门]自定义函数之数字后移 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a[20],b[20]; int n,m; …… 题解列表 2022年03月13日 0 点赞 0 评论 381 浏览 评分:0.0
编写题解 1049: [编程入门]结构体之时间设计 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;struct date{ int year; int month; int …… 题解列表 2022年03月13日 0 点赞 0 评论 406 浏览 评分:0.0
1729: 还是畅通工程(Kruskal) java写法 摘要:[https://www.dotcpp.com/oj/problem1729.html](https://www.dotcpp.com/oj/problem1729.html) - 思路: …… 题解列表 2022年03月13日 0 点赞 0 评论 414 浏览 评分:0.0
快速排序!!! 摘要:```cpp #include using namespace std; const int L = 100000 + 2; int q[L]; int n; void quick_s…… 题解列表 2022年03月13日 0 点赞 0 评论 454 浏览 评分:0.0
素数判断小小加强写法 摘要:解题思路:1、输入数字小于2直接退出2、大于2直接输出2,为了后面来判断的数字都是基数做个小铺垫,应为偶数不可能是素数嘛3、比较范围上限用根号更好节省时空注意事项:参考代码:#include<iost…… 题解列表 2022年03月13日 0 点赞 0 评论 415 浏览 评分:0.0
归并排序!!! 摘要:```cpp #include using namespace std; const int L = 100000 + 2; int q[L]; int tmp[L]; int n; …… 题解列表 2022年03月13日 0 点赞 0 评论 562 浏览 评分:0.0
蓝桥杯2018年第九届真题-递增三元组 摘要:将a从大到小排序,将c从小到大排序找到a中第一个比b小的数,那么剩下的n - i都符合c同理参考代码:#include<iostream> #include<bits/stdc++.h> usin…… 题解列表 2022年03月13日 0 点赞 0 评论 569 浏览 评分:0.0
1205: 字符串的修改 C++ 动态规划 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; string s1; string s2; int L1,L2; …… 题解列表 2022年03月14日 0 点赞 0 评论 402 浏览 评分:0.0