简单(无数组) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(){ int a,b,c; scanf("%d",&a); while(a--){ …… 题解列表 2021年12月06日 0 点赞 0 评论 609 浏览 评分:0.0
蓝桥杯2013年第四届真题-剪格子 python实现 75%错误的解决方案。 m,n=map(int,input().strip().split())l=[[]for_inrange(n)]foriinrange(n):l[i]=list(map(int,input().strip().split()))stack=[]q_num=[]count=0total=0foriinr 题解列表 2021年12月06日 0 点赞 0 评论 893 浏览 评分:0.0
中位数体题解 摘要:解题思路:先选出最大值与最小值再取中间值;注意事项:注意变量的选择;参考代码:#include <stdio.h>int main(){int a,b,c,max,min,sum;scanf("%d%…… 题解列表 2021年12月06日 0 点赞 0 评论 695 浏览 评分: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 评论 588 浏览 评分: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 评论 633 浏览 评分:0.0
三位数分解 摘要:解题思路:分别除以百位,十位,个位,取最后一位余数;注意事项:%10为取最后一位余数;参考代码:#include <stdio.h>int main(){ int x,a,b,c; scanf("%d…… 题解列表 2021年12月06日 0 点赞 0 评论 804 浏览 评分:0.0
话费计算的解题方法 摘要:解题思路:月租加通话费用;注意事项:参考代码:#include <stdio.h>int main(){ int n; float sum; scanf("%d",&n); sum=50+n*0.4;…… 题解列表 2021年12月06日 0 点赞 0 评论 707 浏览 评分:0.0
简单的C实现,整除的尾数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int m, n; while (scanf("%d%d", &m, &n) && n && m) { int…… 题解列表 2021年12月06日 0 点赞 0 评论 696 浏览 评分:0.0
编写题解 1027: [编程入门]自定义函数处理最大公约数与最小公倍数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int p(int x,int y); int q(int m,int n); int a,b; s…… 题解列表 2021年12月07日 0 点赞 0 评论 648 浏览 评分:0.0
蛇形矩阵 用dp函数来解答 摘要:解题思路:注意事项:参考代码:n=nt(input())dp=[[0]*n for i in rage(n)]dp[0][0]=1for i in range(1,n): dp[i][0]=dp…… 题解列表 2021年12月07日 0 点赞 0 评论 705 浏览 评分:0.0