[编程入门]数字的处理与判断-两个for循环 摘要:解题思路:构造一个求位数的函数,得到位数,利用求余,除法求出倒数等注意事项:参考代码:#include<iostream>using namespace std;#include <iomanip>i…… 题解列表 2022年05月20日 0 点赞 0 评论 243 浏览 评分:0.0
[编程入门]数字的处理与判断 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;string n;int main(){ cin>>n; cout<<n.size…… 题解列表 2022年05月24日 0 点赞 0 评论 139 浏览 评分:0.0
1009: [编程入门]数字的处理与判断 摘要:#include<stdio.h> int main() { char st[5],c,i=0; c=getchar(); int k=5; while(k--){ st[i++]…… 题解列表 2022年06月05日 0 点赞 0 评论 182 浏览 评分:0.0
1009: [编程入门]数字的处理与判断 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,re,l; scanf("%d",&a); re=a; l=0; w…… 题解列表 2022年06月07日 0 点赞 0 评论 135 浏览 评分:0.0
关于数字的处理与判断 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ string n; cin >> n; in…… 题解列表 2022年06月16日 0 点赞 0 评论 188 浏览 评分:0.0
通俗易懂的数据处理方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,i,k,b[100]; scanf("%d",&a); for(i=0;i<=4;i++) { k…… 题解列表 2022年06月20日 0 点赞 0 评论 209 浏览 评分:0.0
最常规方法处理!只用前面已学的基本语句!不用任何数组及字符串函数!判断任意不超过n位的整数! 摘要:解题思路:先从预估的最大位数进行匹配,匹配成功得到实际位数后,进行“取商(最高位)输出-取余再进行下一次的取商(下一个最高位)输出”循环。而求数字逆序则需要将 “实际最大除数div_max/当前最高位…… 题解列表 2022年07月28日 0 点赞 0 评论 318 浏览 评分:0.0
编写题解 1009: [编程入门]数字的处理与判断 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int num = 0; int a = 0, b = 0, c = 0, d = 0, e…… 题解列表 2022年07月29日 0 点赞 0 评论 161 浏览 评分:0.0
基础C语言-对数字的处理与判断 摘要:解题思路: 通过使用循环语句来判断出数字的位数和求出每个位数的具体数值注意事项:参考代码:#include<stdio.h>int main(){ int num; int n=1; scan…… 题解列表 2022年07月29日 0 点赞 0 评论 193 浏览 评分:0.0
数字的处理与判断 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<math.h>//因为要用到pow(a,b) using namespace std; int main(…… 题解列表 2022年08月04日 0 点赞 0 评论 169 浏览 评分:0.0