1009普通解题看看吧 摘要:解题思路:注意事项:注意把整型转换为字符串和l - 1就行了。参考代码:#include<stdio.h>#include<string.h>int main (){ int b; char a[10…… 题解列表 2024年12月01日 1 点赞 0 评论 1784 浏览 评分:10.0
1009简单易看题解,并注释 摘要:```#include#includeint main(){ char a[6]; scanf("%s",a); //直接用库函数 int …… 题解列表 2025年01月06日 6 点赞 1 评论 1234 浏览 评分:10.0
1009题解,用循环做 摘要:解题思路和注意事项:首先要明白每个要求的操作思路,为了清楚点我们直接举具体的数:123第一个要求几位数,那么就是将123除以10,123是三位数字,123能除以10两次,那么将变量count初始化为1…… 题解列表 2025年01月11日 22 点赞 0 评论 2103 浏览 评分:10.0
用字符数组做的,简单得感觉像是偷懒,完全不用思考 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>intmain(void){…… 题解列表 2025年01月27日 18 点赞 0 评论 1687 浏览 评分:10.0
[编程入门]数字的处理与判断 摘要:```c#include int main() { int x; int arr[5]; int i=0; scanf("%d",&x); …… 题解列表 2025年03月08日 22 点赞 0 评论 1996 浏览 评分:10.0
菜鸟记录11111111 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b=0,c[5]; scanf(&q…… 题解列表 2025年05月06日 11 点赞 1 评论 1471 浏览 评分:10.0
最简单的处理与判断 摘要:解题思路:发现别人的都好复杂,决定自己写一个,一个条件判断,一个计算长度函数,二个循环注意事项:慢慢打磨,寻最简解法参考代码:#include<stdio.h>#include<st…… 题解列表 2025年09月18日 11 点赞 0 评论 1283 浏览 评分:10.0
1009: 数字的处理与判断 摘要:#include<stdio.h>int main(){ int a, b, c, x = 0; int n = 0…… 题解列表 2025年11月19日 3 点赞 0 评论 576 浏览 评分:10.0
[编程入门]数字的处理与判断 摘要:解题思路:注意事项:看网上的那些答案有些太高级不是很好理解,现在给出两个初学就能做的答案代码,方便理解一下。参考代码:第一种(不使用数组方法):#include <stdio.h>int …… 题解列表 2025年11月28日 2 点赞 0 评论 754 浏览 评分:10.0