计算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 评论 545 浏览 评分: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 评论 739 浏览 评分:0.0
发现这道题没什么题解来贡献一个思路 摘要:解题思路:注意事项:由于四个电子数字打在同一行,所以不能一个一个输出,必须想办法同时处理四个数字;参考代码:#include<stdio.h>void done1(int x){ switch(x) …… 题解列表 2021年12月06日 0 点赞 0 评论 553 浏览 评分:2.0
简单(无数组) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(){ int a,b,c; scanf("%d",&a); while(a--){ …… 题解列表 2021年12月06日 0 点赞 0 评论 435 浏览 评分: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 评论 731 浏览 评分:0.0
排序问题,江小白yyds 摘要:解题思路:用c++中的sort,直接排序注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int fun(int a,int b){ retur…… 题解列表 2021年12月06日 0 点赞 0 评论 982 浏览 评分:8.0
中位数体题解 摘要:解题思路:先选出最大值与最小值再取中间值;注意事项:注意变量的选择;参考代码:#include <stdio.h>int main(){int a,b,c,max,min,sum;scanf("%d%…… 题解列表 2021年12月06日 0 点赞 0 评论 498 浏览 评分: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 评论 376 浏览 评分: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 评论 447 浏览 评分:0.0
三位数分解 摘要:解题思路:分别除以百位,十位,个位,取最后一位余数;注意事项:%10为取最后一位余数;参考代码:#include <stdio.h>int main(){ int x,a,b,c; scanf("%d…… 题解列表 2021年12月06日 0 点赞 0 评论 601 浏览 评分:0.0