STL_蓝桥杯2020年第十一届省赛真题-平面切分 摘要:在一个很多直线的平面上添加一条直线y,可以分割出y与其他所有直线的交点 + 1个平面 ;注意事项: 在for循环中前提条件有两个时for(i = 0, it = line.begin(); it !…… 题解列表 2022年03月10日 0 点赞 0 评论 861 浏览 评分:9.9
蓝桥杯2013年第四届真题-核桃的数量-题解 摘要:参考代码:#include<iostream>using namespace std;int main(){ int a,b,c; cin>>a>>b>>c; if(a<b) …… 题解列表 2022年03月11日 0 点赞 0 评论 553 浏览 评分:9.9
蓝桥杯历届试题-回文数字 摘要:参考代码:#include<iostream> #include<algorithm> using namespace std; bool isReverse(int n) { …… 题解列表 2022年03月11日 0 点赞 0 评论 292 浏览 评分:9.9
求和训练python 摘要:解题思路:分别求a部分,b部分,c部分的和注意事项:欢迎报考中山大学!参考代码:import matha,b,c=map(int,input().split())squares=[]pfh=[]dsh…… 题解列表 2022年03月11日 0 点赞 0 评论 678 浏览 评分:9.9
优质题解 蓝桥杯算法训练VIP-青蛙跳杯子看完包会的(BFS) 摘要:**1.看题找算法**:典型BFS题目 **2思路分析:**输入时即输入2个字符串,我们要通过变换让2个字符串相等.即找到空的杯子,以空杯子为原点bfs,交换空杯子与青蛙不断生成新 的字符串,同时要…… 题解列表 2022年03月12日 0 点赞 0 评论 938 浏览 评分:9.9
1592: 蓝桥杯算法训练VIP-FBI树 摘要:[https://www.dotcpp.com/oj/problem1592.html](https://www.dotcpp.com/oj/problem1592.html) - 思路 …… 题解列表 2022年03月12日 0 点赞 0 评论 506 浏览 评分:9.9
蛇行矩阵--根据数字规律 摘要:解题思路:注意事项:参考代码:n=int(input())list=list(range(1,int((n*n+n)/2)+1))for j in range(1,n+1): for i in …… 题解列表 2022年03月12日 0 点赞 0 评论 421 浏览 评分:9.9
DFS啊啊啊啊啊啊!!! 摘要:```cpp #include using namespace std; int n; int vis[100][100] = {0}; char arr[100][100]; int b…… 题解列表 2022年03月12日 0 点赞 0 评论 563 浏览 评分:9.9
二分法求每个机器人的打扫范围 摘要:```cpp #include using namespace std; typedef long long ll; const int N=1e5+5; int n,k,a[N]; in…… 题解列表 2022年03月12日 0 点赞 0 评论 740 浏览 评分:9.9
优质题解 1832-蓝桥杯2015年第六届真题-表格计算 摘要:解题思路:遍历矩阵中各个元素,有可能直接是数字,也可能是字符串表达式,输入时碰到数字直接转为int,便于后续条件判断碰到表达式要进行处理;1.判断是三种操作中哪一个2.取出左上角和右下角的坐标3.代入…… 题解列表 2022年03月12日 0 点赞 0 评论 669 浏览 评分:9.9