计算数字位数and逆序和顺序输出 摘要:#include<stdio.h>#include<math.h>int main(){ int n, m, y, i, j, k = 1; …… 题解列表 2025年10月09日 1 点赞 0 评论 122 浏览 评分:0.0
最简单的处理与判断 摘要:解题思路:发现别人的都好复杂,决定自己写一个,一个条件判断,一个计算长度函数,二个循环注意事项:慢慢打磨,寻最简解法参考代码:#include<stdio.h>#include<st…… 题解列表 2025年09月18日 3 点赞 0 评论 407 浏览 评分:10.0
[编程入门]数字的处理与判断 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a; cin>>a; int b=a;…… 题解列表 2025年09月16日 0 点赞 0 评论 225 浏览 评分:0.0
C++ : 使用循环解决,需要注意0是一位 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>usingnamespacestd;intmain&nb…… 题解列表 2025年08月22日 1 点赞 0 评论 166 浏览 评分:8.0
菜鸟记录11111111 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b=0,c[5]; scanf(&q…… 题解列表 2025年05月06日 9 点赞 1 评论 952 浏览 评分:10.0
5行解决,且代码简单易懂 摘要:解题思路:注意事项:参考代码:s=input()print(len(s))for i in s: print(i,end=' ')print()print(s[::-1])…… 题解列表 2025年05月02日 1 点赞 0 评论 589 浏览 评分:0.0
C++:vector容器练习 输入单个字符 感觉实际上比较通用 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std ;int main ( ){&nbs…… 题解列表 2025年03月22日 2 点赞 0 评论 632 浏览 评分:0.0
[编程入门]数字的处理与判断 摘要:```c#include int main() { int x; int arr[5]; int i=0; scanf("%d",&x); …… 题解列表 2025年03月08日 17 点赞 0 评论 1640 浏览 评分:10.0
题解 1009: [编程入门]数字的处理与判断 摘要:解题思路:使用string和algorithm中函数即可轻松完成要求注意事项:参考代码:#include <iostream>#include <string>#include…… 题解列表 2025年02月24日 7 点赞 0 评论 1127 浏览 评分:0.0
用字符数组做的,简单得感觉像是偷懒,完全不用思考 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>intmain(void){…… 题解列表 2025年01月27日 17 点赞 0 评论 1405 浏览 评分:10.0