1009: [编程入门]数字的处理与判断 摘要:解题思路:三行输出案例输出的分别是 1 .数的个数。 2 .从左到有输出位数的值(中间有空格)。3.从左到有输出。注意事项:参考代码:#include<stdio.h>int main(){int x…… 题解列表 2021年03月17日 0 点赞 0 评论 162 浏览 评分:0.0
题解 1009: [编程入门]数字的处理与判断 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main() { double a; int e; double …… 题解列表 2021年03月17日 0 点赞 0 评论 576 浏览 评分:9.9
[编程入门]数字的处理与判断 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a,k=1,n=5,i=10000; scanf("%d",&a); while(a<i){ i=i…… 题解列表 2021年03月13日 0 点赞 0 评论 137 浏览 评分:0.0
1009: [编程入门]数字的处理与判断。不用数组 摘要:解题思路:通过乘方再取余获得最高位和去掉最高位、动态控制位宽注意事项:逐位输出用count(位数)作为判断表达式,别用 i(当前值) 参考代码:#include <stdio.h> #include…… 题解列表 2021年03月12日 0 点赞 0 评论 154 浏览 评分:0.0
来来来,看过来 摘要:解题思路:用字符串的知识点来写比较好写注意事项:参考代码:#include<stdio.h>#include <string.h>int main(){int len;char s[5];scanf(…… 题解列表 2021年03月07日 0 点赞 0 评论 249 浏览 评分:9.9
编写题解 1009: [编程入门]数字的处理与判断 循环处理 摘要:参考代码:#include<stdio.h>#include<string.h>int main(){ char str[6]; int len; scanf("%s",str); …… 题解列表 2021年03月05日 0 点赞 0 评论 191 浏览 评分:0.0
稍微有点长 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int x,x1,x2,n=0; int i; scanf("%d",&x); x1=x2=x; while(x…… 题解列表 2021年03月03日 0 点赞 1 评论 124 浏览 评分:0.0
利用了一下math, 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int a,i,c,d; scanf("%d",&a); c=…… 题解列表 2021年03月03日 0 点赞 0 评论 173 浏览 评分:0.0
[编程入门]数字的处理与判断-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int x,l=0,n,s=0; scanf("%d",&x); whil…… 题解列表 2021年02月22日 0 点赞 0 评论 389 浏览 评分:0.0
[编程入门]数字的处理与判断-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int b,a,c,d,e,f,g,h,i; scanf("%d",&b); if(b<1…… 题解列表 2021年02月20日 0 点赞 0 评论 171 浏览 评分:0.0