编写题解 2782: 整数大小比较 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; scanf("%d %d",&a,&b); if(a>b){ …… 题解列表 2023年03月24日 0 点赞 0 评论 396 浏览 评分:0.0
编写题解 2781: 奇偶ASCII值判断 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char a; scanf("%c",&a); if(a%2==0){ prin…… 题解列表 2023年03月24日 0 点赞 0 评论 458 浏览 评分:8.0
编写题解 2780: 奇偶数判断 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a; scanf("%d",&a); if(a%2==0) { p…… 题解列表 2023年03月24日 0 点赞 0 评论 429 浏览 评分:0.0
五位、六位回文数 摘要:n=int(input()) s=[] for i in range(1,10): for j in range(0,10): for k in range(0,10)…… 题解列表 2023年03月24日 1 点赞 0 评论 322 浏览 评分:0.0
编写题解 2779: 输出绝对值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ double a; scanf("%lf",&a); prin…… 题解列表 2023年03月24日 0 点赞 0 评论 692 浏览 评分:9.9
编写题解 2778: 判断数正负 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int N; scanf("%d",&N); if(N>0) { prin…… 题解列表 2023年03月24日 0 点赞 0 评论 401 浏览 评分:0.0
编写题解 2764: 带余除法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a, b; scanf("%d %d",&a,&b); printf("%d %d",…… 题解列表 2023年03月24日 0 点赞 0 评论 449 浏览 评分:0.0
解决蓝桥杯中的分糖果问题 摘要:参考代码:n=int(input()) m=list(map(int,input().split())) ans=0 #老师补发糖果的个数 while m.count(m[0]) != n: …… 题解列表 2023年03月24日 1 点赞 0 评论 546 浏览 评分:9.9
编写题解 2765: 计算分数的浮点数值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; scanf("%d %d",&a,&b); double c=(double…… 题解列表 2023年03月24日 0 点赞 0 评论 418 浏览 评分:0.0
求小数的末尾3位 摘要:需要明确一点就是:无论a的多少次幂,都是末尾的数先乘以a再考虑向前进位,因此本题直接考虑每次幂的末尾3位,将每次的末尾3位乘以a循环进行b次#include<stdio.h> int main(vo…… 题解列表 2023年03月24日 0 点赞 0 评论 449 浏览 评分:2.0