蓝桥杯算法训练VIP-连续正整数的和 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); int i; int s=0; for(i=1;i<n;i++){…… 题解列表 2021年12月06日 0 点赞 0 评论 405 浏览 评分:0.0
计算1~N之间所有奇数之和 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,sum=0; scanf("%d",&n); for(int i=1;i<=n;i++) { …… 题解列表 2021年12月06日 0 点赞 0 评论 558 浏览 评分:0.0
1433: 蓝桥杯2013年第四届真题-危险系数 摘要: n, m = map(int, input().strip().split()) l = [[0]*n for _ in range(n)] for i in range(…… 题解列表 2021年12月06日 0 点赞 0 评论 762 浏览 评分:0.0
简单(无数组) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(){ int a,b,c; scanf("%d",&a); while(a--){ …… 题解列表 2021年12月06日 0 点赞 0 评论 450 浏览 评分:0.0
蓝桥杯2013年第四届真题-剪格子 python实现 75%错误的解决方案。 摘要: m ,n = map(int,input().strip().split()) l = [[] for _ in range(n)] for i in range(n): …… 题解列表 2021年12月06日 0 点赞 0 评论 744 浏览 评分:0.0
中位数体题解 摘要:解题思路:先选出最大值与最小值再取中间值;注意事项:注意变量的选择;参考代码:#include <stdio.h>int main(){int a,b,c,max,min,sum;scanf("%d%…… 题解列表 2021年12月06日 0 点赞 0 评论 514 浏览 评分:0.0
最大值输出 摘要:解题思路:相互比较注意事项:要一步步比较不要搞混参考代码:#include <stdio.h>int main(){int a,b,c,max;scanf("%d%d%d",&a,&b,&c);max…… 题解列表 2021年12月06日 0 点赞 0 评论 397 浏览 评分:0.0
人民币问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,s=0; scanf("%d",&n); for(int i=1;i<=n;i++) for(int…… 题解列表 2021年12月06日 0 点赞 0 评论 459 浏览 评分:0.0
三位数分解 摘要:解题思路:分别除以百位,十位,个位,取最后一位余数;注意事项:%10为取最后一位余数;参考代码:#include <stdio.h>int main(){ int x,a,b,c; scanf("%d…… 题解列表 2021年12月06日 0 点赞 0 评论 619 浏览 评分:0.0
话费计算的解题方法 摘要:解题思路:月租加通话费用;注意事项:参考代码:#include <stdio.h>int main(){ int n; float sum; scanf("%d",&n); sum=50+n*0.4;…… 题解列表 2021年12月06日 0 点赞 0 评论 500 浏览 评分:0.0