编写题解 1018: [编程入门]有规律的数列求和python 摘要:解题思路:不用while,用for注意事项:参考代码:N=int(input())c,d=2,1sn=a=c/dfor i in range(1,N): c,d=c+d,c a=c/d …… 题解列表 2022年03月10日 0 点赞 0 评论 993 浏览 评分:9.9
STL_蓝桥杯2020年第十一届省赛真题-平面切分 摘要:在一个很多直线的平面上添加一条直线y,可以分割出y与其他所有直线的交点 + 1个平面 ;注意事项: 在for循环中前提条件有两个时for(i = 0, it = line.begin(); it !…… 题解列表 2022年03月10日 0 点赞 0 评论 958 浏览 评分: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 评论 616 浏览 评分:9.9
蓝桥杯历届试题-回文数字 摘要:参考代码:#include<iostream> #include<algorithm> using namespace std; bool isReverse(int n) { …… 题解列表 2022年03月11日 0 点赞 0 评论 376 浏览 评分:9.9
求和训练python 摘要:解题思路:分别求a部分,b部分,c部分的和注意事项:欢迎报考中山大学!参考代码:import matha,b,c=map(int,input().split())squares=[]pfh=[]dsh…… 题解列表 2022年03月11日 0 点赞 0 评论 744 浏览 评分:9.9
优质题解 蓝桥杯算法训练VIP-青蛙跳杯子看完包会的(BFS) 摘要:**1.看题找算法**:典型BFS题目 **2思路分析:**输入时即输入2个字符串,我们要通过变换让2个字符串相等.即找到空的杯子,以空杯子为原点bfs,交换空杯子与青蛙不断生成新 的字符串,同时要…… 题解列表 2022年03月12日 1 点赞 0 评论 1010 浏览 评分:9.9
1592: 蓝桥杯算法训练VIP-FBI树 摘要:[https://www.dotcpp.com/oj/problem1592.html](https://www.dotcpp.com/oj/problem1592.html) - 思路 …… 题解列表 2022年03月12日 0 点赞 0 评论 555 浏览 评分: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 评论 473 浏览 评分: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 评论 625 浏览 评分: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 评论 791 浏览 评分:9.9