[编程入门]数字的处理与判断c++ 摘要:解题思路:分别求出它是几位数,输出每一位数字,按逆序输出各位数字注意事项:顺序不要混了参考代码:#include<iostream>#include<fstream>#include<algorith…… 题解列表 2022年05月09日 0 点赞 0 评论 361 浏览 评分:9.9
数字的处理与判断 题解(c++字符串超简单) 摘要:解题思路:这题就纯属拆分,但也可以用字符串,我在这里只展示字符串的写法。注意:比赛时建议用拆分数字,按题目输入要求。注意事项:无。参考代码:#include<bits/stdc++.h>using n…… 题解列表 2022年05月08日 0 点赞 0 评论 239 浏览 评分:0.0
编写题解 1009: [编程入门]数字的处理与判断 摘要:#include<iostream> using namespace std; int main() { int num[5]; //定义一个有 5 个元素的数组 int …… 题解列表 2022年05月07日 0 点赞 0 评论 230 浏览 评分:0.0
[编程入门]数字的处理与判断 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;string s;int main(){ cin>>s; cout<<s.si…… 题解列表 2022年05月07日 0 点赞 0 评论 215 浏览 评分:0.0
编写题解 1009: [编程入门]数字的处理与判断 摘要:解题思路:注意事项:参考代码:a=input('') print(len(a)) for i in a: print(i,end=' ') print(…… 题解列表 2022年05月05日 0 点赞 0 评论 211 浏览 评分:0.0
1009: [编程入门]数字的处理与判断(C++清爽版) 摘要:解题思路:清爽的代码注意事项:注意数据不要越界参考代码:#include<iostream> #include<cstring> using namespace std; int main()…… 题解列表 2022年04月20日 0 点赞 1 评论 324 浏览 评分:9.9
菜鸟解答,大神勿喷 摘要:解题思路:注意事项:参考代码:#include"stdio.h" int main(){ int a,b,c,d,e,t,g; scanf("%d",&g); if(g>9999) t=5; else…… 题解列表 2022年04月19日 0 点赞 0 评论 305 浏览 评分:9.9
数字的处理与判断 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char u[6]; int i=0,len; gets(u); len=s…… 题解列表 2022年04月16日 0 点赞 0 评论 260 浏览 评分:0.0
非常普通的小白解法。。。 摘要:解题思路:注意事项:for循环内count[]内的值和i的起始值需要注意,数组从count[0]开始。所以代码内后两个for循环条件略有不同。参考代码:#include<stdio.h>int mai…… 题解列表 2022年04月13日 0 点赞 0 评论 268 浏览 评分:0.0
1009[编程入门]数字的处理与判断-不简洁但很明了(C语言) 摘要:解题思路:仅使用if-else判断选择的笨办法注意事项:参考代码:#include<stdio.h>int main(){ int a,b,d; int c1,c2,c3,c4,c5; …… 题解列表 2022年04月12日 0 点赞 0 评论 179 浏览 评分:0.0