蓝桥杯2022年第十三届省赛真题-修剪灌木 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d", &n); int arr[10010]; if (…… 题解列表 2023年11月11日 0 点赞 0 评论 430 浏览 评分:0.0
(周末舞会) C语言思路简单,易懂!!! 理解万岁 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main (){ int man,woman; int n; int i=1,j=1,k=1; sca…… 题解列表 2023年11月11日 0 点赞 0 评论 686 浏览 评分:0.0
1004: [递归]母牛的故事(Java代码) 摘要:解题思路: 动态规划注意事项:参考代码:import java.util.ArrayList; import java.util.List; import java.util.Scanner; …… 题解列表 2023年11月11日 0 点赞 0 评论 618 浏览 评分:0.0
1011: [编程入门]最大公约数与最小公倍数-更相减损法与公式法 摘要:解题思路: 更相减损法求解最大公约数,公式法求解最小公倍数注意事项:参考代码:import java.util.Scanner; public class Main { public sta…… 题解列表 2023年11月11日 0 点赞 0 评论 611 浏览 评分:0.0
蓝桥杯算法提高VIP-笨小猴(python) 摘要:解题思路:注意事项:参考代码:try: def prime(x): # 判断x是否为质数 for i in range(1, x): if x % i ==…… 题解列表 2023年11月11日 0 点赞 0 评论 645 浏览 评分:0.0
有规律的数列求和 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i; float a=1.0,b=2.0,j=b/a,t,sum=0; scanf…… 题解列表 2023年11月12日 0 点赞 0 评论 354 浏览 评分:0.0
自由下落的距离计算 摘要:解题思路:每次经过的路程均为高度的3倍注意事项:参考代码:m,n=map(int,input().split())c=0for i in range(1,n+1): m=m/2 c+=3*…… 题解列表 2023年11月12日 0 点赞 0 评论 538 浏览 评分:0.0
编程入门自由下落的距离计算 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,j,N; float M,H=0,S=0; scanf("%f %d",&M,&N…… 题解列表 2023年11月12日 0 点赞 0 评论 424 浏览 评分:0.0
最大公约数与最小公倍数 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a,b; scanf("%d %d",&a,&b); int m =(a<b?a:b); while …… 题解列表 2023年11月12日 0 点赞 0 评论 364 浏览 评分:0.0
求最大公约数最小公倍数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,m,n,i,j; scanf("%d %d",&a,&b); m=a<b?b:…… 题解列表 2023年11月12日 0 点赞 0 评论 385 浏览 评分:0.0