编写题解 2782: 整数大小比较 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; scanf("%d %d",&a,&b); if(a>b){ …… 题解列表 2023年03月24日 0 点赞 0 评论 563 浏览 评分:0.0
编写题解 2781: 奇偶ASCII值判断 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char a; scanf("%c",&a); if(a%2==0){ prin…… 题解列表 2023年03月24日 0 点赞 0 评论 574 浏览 评分:8.0
编写题解 2780: 奇偶数判断 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a; scanf("%d",&a); if(a%2==0) { p…… 题解列表 2023年03月24日 0 点赞 0 评论 587 浏览 评分:0.0
编写题解 2779: 输出绝对值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ double a; scanf("%lf",&a); prin…… 题解列表 2023年03月24日 0 点赞 0 评论 808 浏览 评分:9.9
编写题解 2778: 判断数正负 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int N; scanf("%d",&N); if(N>0) { prin…… 题解列表 2023年03月24日 0 点赞 0 评论 560 浏览 评分:0.0
编写题解 2764: 带余除法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a, b; scanf("%d %d",&a,&b); printf("%d %d",…… 题解列表 2023年03月24日 0 点赞 0 评论 583 浏览 评分:0.0
编写题解 2765: 计算分数的浮点数值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; scanf("%d %d",&a,&b); double c=(double…… 题解列表 2023年03月24日 0 点赞 0 评论 547 浏览 评分:0.0
求小数的末尾3位 摘要:需要明确一点就是:无论a的多少次幂,都是末尾的数先乘以a再考虑向前进位,因此本题直接考虑每次幂的末尾3位,将每次的末尾3位乘以a循环进行b次#include<stdio.h> int main(vo…… 题解列表 2023年03月24日 0 点赞 0 评论 603 浏览 评分:2.0
编写题解 1267: A+B Problem 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ unsigned int a,b; scanf("%d %d",&a,&b); printf(…… 题解列表 2023年03月24日 0 点赞 0 评论 563 浏览 评分:8.9
编写题解 1003: [编程入门]密码破译 摘要:#include<stdio.h> //字符数组 int main() { char ch[] = { "China" }; for (int i = 0; i < 5; i++) …… 题解列表 2023年03月24日 0 点赞 0 评论 438 浏览 评分:0.0