[编程入门]数字的处理与判断 摘要:解题思路:注意事项:看网上的那些答案有些太高级不是很好理解,现在给出两个初学就能做的答案代码,方便理解一下。参考代码:第一种(不使用数组方法):#include <stdio.h>int …… 题解列表 2025年11月28日 2 点赞 0 评论 26 浏览 评分:0.0
1009: 数字的处理与判断 摘要:#include<stdio.h>int main(){ int a, b, c, x = 0; int n = 0…… 题解列表 2025年11月19日 0 点赞 0 评论 105 浏览 评分:10.0
计算数字位数and逆序和顺序输出 摘要:#include<stdio.h>#include<math.h>int main(){ int n, m, y, i, j, k = 1; …… 题解列表 2025年10月09日 2 点赞 0 评论 972 浏览 评分:4.0
最简单的处理与判断 摘要:解题思路:发现别人的都好复杂,决定自己写一个,一个条件判断,一个计算长度函数,二个循环注意事项:慢慢打磨,寻最简解法参考代码:#include<stdio.h>#include<st…… 题解列表 2025年09月18日 8 点赞 0 评论 1043 浏览 评分:10.0
[编程入门]数字的处理与判断 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a; cin>>a; int b=a;…… 题解列表 2025年09月16日 1 点赞 0 评论 502 浏览 评分:2.0
C++ : 使用循环解决,需要注意0是一位 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>usingnamespacestd;intmain&nb…… 题解列表 2025年08月22日 1 点赞 0 评论 306 浏览 评分:8.0
菜鸟记录11111111 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b=0,c[5]; scanf(&q…… 题解列表 2025年05月06日 10 点赞 1 评论 1266 浏览 评分:10.0
5行解决,且代码简单易懂 摘要:解题思路:注意事项:参考代码:s=input()print(len(s))for i in s: print(i,end=' ')print()print(s[::-1])…… 题解列表 2025年05月02日 1 点赞 0 评论 787 浏览 评分:0.0
C++:vector容器练习 输入单个字符 感觉实际上比较通用 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std ;int main ( ){&nbs…… 题解列表 2025年03月22日 2 点赞 0 评论 694 浏览 评分:0.0
[编程入门]数字的处理与判断 摘要:```c#include int main() { int x; int arr[5]; int i=0; scanf("%d",&x); …… 题解列表 2025年03月08日 21 点赞 0 评论 1866 浏览 评分:10.0