3030基础解法(Python) 摘要:解题思路:恰如title注意事项:理解库函数即可参考代码:import itertoolss = input()for data in itertools.permutations(s, len(s)…… 题解列表 2023年02月28日 0 点赞 0 评论 678 浏览 评分:2.0
3033基础解法(Python) 摘要:解题思路:排列组合类型的题目只要数据量不是很大,基本用自带的函数就行了注意事项:注意本题可以重复取一个值,所以用itertools.combinations_with_replacement参考代码:…… 题解列表 2023年02月28日 0 点赞 0 评论 640 浏览 评分:9.9
电报加密(无需过多解释----自定义) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>char plus(char k[]){ int i=0; while(k[i]!='\0') { …… 题解列表 2023年02月28日 0 点赞 2 评论 713 浏览 评分:9.9
自定义函数求一元二次方程 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<math.h> int main() { //输入处理 float a,b,c,del…… 题解列表 2023年02月28日 0 点赞 0 评论 429 浏览 评分:0.0
辗转相除法求最大公约数与最小公倍数 摘要:解题思路:1.最大公约数:辗转相除 2.最小公倍数:两数乘积/最大公约数注意事项:参考代码:#include<stdio.h> int Max_GY(int x,int y); int Min_…… 题解列表 2023年02月28日 0 点赞 0 评论 311 浏览 评分:0.0
2826: 雇佣兵 摘要:#include<stdio.h> #include<math.h> int main() { int m,n,x; scanf("%d %d %d",&m,&n,&x)…… 题解列表 2023年02月28日 0 点赞 0 评论 424 浏览 评分:0.0
3021基础解法(Python) 摘要:注意事项:题目下标问题参考代码:n_num = int(input())for i in range(n_num) : n_in = int(input()) if n_in == 1 :…… 题解列表 2023年02月28日 0 点赞 0 评论 509 浏览 评分:9.9
2825: 计算多项式的值(C) 摘要:参考代码:#include<stdio.h> #include<math.h> int main() { double x; int n; scanf("%lf…… 题解列表 2023年02月28日 0 点赞 0 评论 483 浏览 评分:0.0
2821: 开关灯 摘要:参考代码:#include<stdio.h> #include<math.h> int main() { int n,m; scanf("%d %d",&n,&m); …… 题解列表 2023年02月28日 0 点赞 0 评论 413 浏览 评分:0.0
1429: 蓝桥杯2014年第五届真题-兰顿蚂蚁(BFS版) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstring> #include<cmath> #include<algorithm> #include…… 题解列表 2023年02月28日 0 点赞 0 评论 357 浏览 评分:9.9