在哪你都看得到我记住这句话
摘要:解题思路:直接把它当作字符串处理,个数就是s.size()再用两个循环进行顺逆输出注意事项:参考代码:#include<iostream>#include<……
先求每一位的数,存放到数组中
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b[5],n,m; scanf("%d",&a); b[4]……
刷题记录2025/12/17 1009: [编程入门]数字的处理与判断
摘要:我太菜了注意事项:参考代码:#include<stdio.h>int main(){ int n; int a,b,c,d,e; scanf("%d",&n);……
[编程入门]数字的处理与判断
摘要:解题思路:注意事项:看网上的那些答案有些太高级不是很好理解,现在给出两个初学就能做的答案代码,方便理解一下。参考代码:第一种(不使用数组方法):#include <stdio.h>int ……
1009: 数字的处理与判断
摘要:#include<stdio.h>int main(){ int a, b, c, x = 0; int n = 0……
计算数字位数and逆序和顺序输出
摘要:#include<stdio.h>#include<math.h>int main(){ int n, m, y, i, j, k = 1; ……
[编程入门]数字的处理与判断
摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a; cin>>a; int b=a;……
C++ : 使用循环解决,需要注意0是一位
摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>usingnamespacestd;intmain&nb……