编写题解 1009: [编程入门]数字的处理与判断 摘要:解题思路:输入数据用列表保存,位数是列表长度,然后顺序及逆序输出列表。参考代码:lis=list(map(int,input())) a=len(lis) print(len(lis)) for…… 题解列表 2023年03月28日 0 点赞 0 评论 245 浏览 评分:0.0
除了数组,的其他两种解法 摘要:解题思路:一种通俗易懂易学,一种是优化后的解法 总体思路就是简单的求位数数字的数学方法,先/后%就行注意事项:细心就行,主要要把循环结构每一步的循环结构弄明白才行参考代码:数组解法入下#include…… 题解列表 2023年03月26日 0 点赞 0 评论 322 浏览 评分:0.0
编写题解 1009: [编程入门]数字的处理与判断 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int x,a,b,c,d,e,y; scanf("%5d",&x); a=x/10000; …… 题解列表 2023年03月20日 0 点赞 0 评论 311 浏览 评分:0.0
数字的处理与判断 摘要:```python while True: try: a = list(map(int, input())) b = a[-1: -7: -1] print(len(a)) …… 题解列表 2023年01月31日 0 点赞 0 评论 397 浏览 评分:2.0
1009——[编程入门]数字的处理与判断(仿写题解) 摘要: import java.util.Scanner; public class Main { public static void main(String[]…… 题解列表 2023年01月07日 0 点赞 0 评论 338 浏览 评分:0.0
将每个数字存入数组 摘要:解题思路:数组求解注意事项:参考代码:#include<stdio.h>int main(){ int n,t,i=0,j,cnt=0,a[20]; scanf("%d",&n); while(n){…… 题解列表 2023年01月04日 0 点赞 0 评论 292 浏览 评分:8.0
[编程入门]数字的处理与判断 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[10]; scanf("%s",a); …… 题解列表 2022年12月25日 0 点赞 0 评论 273 浏览 评分:0.0
编写题解 1009: [编程入门]数字的处理与判断 摘要:import java.util.Scanner;public class Main { public static void main(String[] args) throws Excep…… 题解列表 2022年12月23日 0 点赞 0 评论 287 浏览 评分:0.0
c语言小白,数字的处理与判断 摘要:解题思路:em注意事项:en参考代码#include<stdio.h>#include<math.h>int main(){ double pw; int i,a,b,m,n,k=1,t,z[5]={…… 题解列表 2022年12月17日 0 点赞 0 评论 279 浏览 评分:0.0
通过函数调用的方式完成数字的处理与判断-<C语言> 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int count(int y); void print(int x); void func(int z); int main…… 题解列表 2022年12月14日 0 点赞 0 评论 246 浏览 评分:9.9