非常普通的小白解法。。。 摘要:解题思路:注意事项:for循环内count[]内的值和i的起始值需要注意,数组从count[0]开始。所以代码内后两个for循环条件略有不同。参考代码:#include<stdio.h>int mai…… 题解列表 2022年04月13日 0 点赞 0 评论 168 浏览 评分:0.0
数字的处理与判断 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char u[6]; int i=0,len; gets(u); len=s…… 题解列表 2022年04月16日 0 点赞 0 评论 189 浏览 评分:0.0
编写题解 1009: [编程入门]数字的处理与判断 摘要:解题思路:注意事项:参考代码:a=input('') print(len(a)) for i in a: print(i,end=' ') print(…… 题解列表 2022年05月05日 0 点赞 0 评论 151 浏览 评分:0.0
[编程入门]数字的处理与判断 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;string s;int main(){ cin>>s; cout<<s.si…… 题解列表 2022年05月07日 0 点赞 0 评论 158 浏览 评分:0.0
编写题解 1009: [编程入门]数字的处理与判断 摘要:#include<iostream> using namespace std; int main() { int num[5]; //定义一个有 5 个元素的数组 int …… 题解列表 2022年05月07日 0 点赞 0 评论 177 浏览 评分:0.0
数字的处理与判断 题解(c++字符串超简单) 摘要:解题思路:这题就纯属拆分,但也可以用字符串,我在这里只展示字符串的写法。注意:比赛时建议用拆分数字,按题目输入要求。注意事项:无。参考代码:#include<bits/stdc++.h>using n…… 题解列表 2022年05月08日 0 点赞 0 评论 170 浏览 评分:0.0
1009: [编程入门]数字的处理与判断 摘要:import java.io.*; /** * 读进来数字,再转换成 String、StringBuffer(可以反转)、char[](每位数字) */ public class …… 题解列表 2022年05月10日 0 点赞 0 评论 116 浏览 评分: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 评论 174 浏览 评分:0.0
[编程入门]数字的处理与判断-两个for循环 摘要:解题思路:构造一个求位数的函数,得到位数,利用求余,除法求出倒数等注意事项:参考代码:#include<iostream>using namespace std;#include <iomanip>i…… 题解列表 2022年05月20日 0 点赞 0 评论 203 浏览 评分:0.0
[编程入门]数字的处理与判断 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;string n;int main(){ cin>>n; cout<<n.size…… 题解列表 2022年05月24日 0 点赞 0 评论 100 浏览 评分:0.0