先求每一位的数,存放到数组中
摘要:解题思路:注意事项:参考代码:#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; ……
菜鸟记录11111111
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b=0,c[5]; scanf(&q……
[编程入门]数字的处理与判断
摘要:```c#include int main() { int x; int arr[5]; int i=0; scanf("%d",&x); ……
用字符数组做的,简单得感觉像是偷懒,完全不用思考
摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>intmain(void){……