1009: [编程入门]数字的处理与判断(简单暴力) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[10]; gets(a); int len=…… 题解列表 2024年11月16日 1 点赞 0 评论 726 浏览 评分:0.0
通过数组还有循环 摘要:解题思路: //1009输入一个不多于五位的整数,输出位数,每一位,倒序输出 //通过while循环判断该数的位数,再通过循环存取每一位元素和求其倒序注意事项:参考代码:int N,count=0,a…… 题解列表 2024年11月16日 2 点赞 0 评论 651 浏览 评分:0.0
题解 1009: [编程入门]数字的处理与判断 摘要:解题思路:使用string和algorithm中函数即可轻松完成要求注意事项:参考代码:#include <iostream>#include <string>#include…… 题解列表 2025年02月24日 7 点赞 0 评论 1291 浏览 评分:0.0
C++:vector容器练习 输入单个字符 感觉实际上比较通用 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std ;int main ( ){&nbs…… 题解列表 2025年03月22日 2 点赞 0 评论 705 浏览 评分:0.0
5行解决,且代码简单易懂 摘要:解题思路:注意事项:参考代码:s=input()print(len(s))for i in s: print(i,end=' ')print()print(s[::-1])…… 题解列表 2025年05月02日 1 点赞 0 评论 829 浏览 评分:0.0
刷题记录2025/12/17 1009: [编程入门]数字的处理与判断 摘要:我太菜了注意事项:参考代码:#include<stdio.h>int main(){ int n; int a,b,c,d,e; scanf("%d",&n);…… 题解列表 2025年12月17日 0 点赞 0 评论 104 浏览 评分:0.0