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