求一个整数的位数及每一位数 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int x, sum = 10, a = 1; cin >> x; w…… 题解列表 2021年05月16日 0 点赞 0 评论 575 浏览 评分:9.9
[编程入门]数字的处理与判断 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ string a; cin >> a; cout <<…… 题解列表 2021年04月12日 0 点赞 0 评论 418 浏览 评分:0.0
编写题解 1009: [编程入门]数字的处理与判断【C++】 摘要:解题思路:这道题用数组做会方便一点。如果不想用数组做,就需要像下面这么麻烦。注意事项:建议还是学习用数组做参考代码:#include<iostream>using namespace std;int …… 题解列表 2021年04月01日 0 点赞 0 评论 266 浏览 评分:0.0
题解—涉及 利用string进行对数字的处理 摘要:### # 首先卖个广告,欢迎关注我的github账号 ##### peach99cpp,里面有个库存储了我的做题笔记和源代码,欢迎加入! #### 题解——关于string解决数字处理问题的…… 题解列表 2021年04月01日 0 点赞 3 评论 417 浏览 评分:9.9
[编程入门]数字的处理与判断 (c++) 摘要:参考代码:#include<iostream>using namespace std;int main(){ int arr[5]; int n; //输入的数 int number = 0;//记录…… 题解列表 2021年03月24日 0 点赞 0 评论 686 浏览 评分:9.9
题解 1009: [编程入门]数字的处理与判断 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main() { double a; int e; double …… 题解列表 2021年03月17日 0 点赞 0 评论 773 浏览 评分:9.9
[编程入门]数字的处理与判断-题解(C++代码) 摘要:解题思路: 拆成一个一个字符存入数组借由数组下标对其输出,以下附代码及运行图:注意事项: 限制条件一定要明确,此题要注意 len<=4 !参考代码:#include<iostream> using …… 题解列表 2021年01月23日 0 点赞 0 评论 559 浏览 评分:9.3
[编程入门]数字的处理与判断-题解(C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b,count=0,t; cin>>a; t=a; for…… 题解列表 2021年01月19日 0 点赞 0 评论 356 浏览 评分:0.0
[编程入门]数字的处理与判断-题解(C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n,b=0; int arr[5]; cin>>n; for(…… 题解列表 2021年01月19日 0 点赞 0 评论 274 浏览 评分:0.0
[编程入门]数字的处理与判断-题解(C++代码) 摘要:#include<iostream>using namespace std;int main(){ int i,ge,shi,bai,qian,wan; cin>>i; if(i>=…… 题解列表 2021年01月17日 0 点赞 0 评论 570 浏览 评分:0.0