编写题解 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 评论 898 浏览 评分:9.9
圆的面积--简单 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>#define pi 3.1415926using namespace std;int main()…… 题解列表 2022年03月10日 0 点赞 0 评论 338 浏览 评分:0.0
打印图案--简单 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ cout << " *" << endl; …… 题解列表 2022年03月10日 0 点赞 0 评论 352 浏览 评分:0.0
STL_蓝桥杯2020年第十一届省赛真题-平面切分 摘要:在一个很多直线的平面上添加一条直线y,可以分割出y与其他所有直线的交点 + 1个平面 ;注意事项: 在for循环中前提条件有两个时for(i = 0, it = line.begin(); it !…… 题解列表 2022年03月10日 0 点赞 0 评论 819 浏览 评分:9.9
编写题解 1052: [编程入门]链表合并 摘要:解题思路:注意事项:参考代码://// Created by ch'li'sen on 2022/3/8.//#include<iostream>#include "algorithm…… 题解列表 2022年03月11日 0 点赞 0 评论 447 浏览 评分:0.0
最大公约数与最小公倍数模板 超简单超短代码 摘要:解题思路:最小公约数欧几里得算法gcd(a,b)=gcd(b,a mod b)最小公倍数是a*b//最小公约数注意事项:参考代码:def gcd(a, b): if b == 0: …… 题解列表 2022年03月11日 0 点赞 1 评论 474 浏览 评分:7.3
1518: 蓝桥杯算法提高VIP-寻找三位数 摘要:解题思路:注意事项:参考代码:st=[str(i) for i in range(1,10)] ls=[] for i in st: z=st[:] z.remove(i) …… 题解列表 2022年03月11日 0 点赞 0 评论 294 浏览 评分:0.0
1512: 蓝桥杯算法提高VIP-多项式输出 摘要:n=int(input()) a=list(map(int,input().split())) l=len(a) b=[] for i in range(len(a)): b.app…… 题解列表 2022年03月11日 0 点赞 0 评论 349 浏览 评分:0.0
蓝桥杯2013年第四届真题-核桃的数量-题解 摘要:参考代码:#include<iostream>using namespace std;int main(){ int a,b,c; cin>>a>>b>>c; if(a<b) …… 题解列表 2022年03月11日 0 点赞 0 评论 535 浏览 评分:9.9
我是废物!!!!!!!!!!!!!! 摘要: ```cpp #include using namespace std; int n; const long long L = 100002; int arr[L] = {0…… 题解列表 2022年03月11日 0 点赞 0 评论 333 浏览 评分:0.0