编写题解 1009: [编程入门]数字的处理与判断 摘要:#include<iostream> using namespace std; int main() { int num[5]; //定义一个有 5 个元素的数组 int …… 题解列表 2022年05月07日 0 点赞 0 评论 240 浏览 评分:0.0
数字的处理与判断 题解(c++字符串超简单) 摘要:解题思路:这题就纯属拆分,但也可以用字符串,我在这里只展示字符串的写法。注意:比赛时建议用拆分数字,按题目输入要求。注意事项:无。参考代码:#include<bits/stdc++.h>using n…… 题解列表 2022年05月08日 0 点赞 0 评论 247 浏览 评分:0.0
1009: [编程入门]数字的处理与判断 摘要:import java.io.*; /** * 读进来数字,再转换成 String、StringBuffer(可以反转)、char[](每位数字) */ public class …… 题解列表 2022年05月10日 0 点赞 0 评论 186 浏览 评分:0.0
C++处理数字位数与输出 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b[5],c; cin >> a; if (a / 100…… 题解列表 2022年05月12日 0 点赞 0 评论 263 浏览 评分:0.0
[编程入门]数字的处理与判断-两个for循环 摘要:解题思路:构造一个求位数的函数,得到位数,利用求余,除法求出倒数等注意事项:参考代码:#include<iostream>using namespace std;#include <iomanip>i…… 题解列表 2022年05月20日 0 点赞 0 评论 287 浏览 评分:0.0
[编程入门]数字的处理与判断 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;string n;int main(){ cin>>n; cout<<n.size…… 题解列表 2022年05月24日 0 点赞 0 评论 176 浏览 评分: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 评论 219 浏览 评分: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 评论 173 浏览 评分:0.0
关于数字的处理与判断 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ string n; cin >> n; in…… 题解列表 2022年06月16日 0 点赞 0 评论 245 浏览 评分: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 评论 251 浏览 评分:0.0