1157: 亲和数 递归写的
摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h> int yssum(int a,int b){ if (b >= a) { return 0; } ……
2025元旦快乐,马原背了吗
摘要:解题思路:#include<stdio.h>
int factsum(int n);
int judge(int a,int b);
int main(void)
{
int a, ……
1157: 亲和数(c语言解法)
摘要:解题思路:写一个函数计算约数之和#include <stdio.h>int sss(int i);int main(){ int m; scanf("%d",&……
一目了然- 亲和数用while、for
摘要:解题思路:注意事项:参考代码:#include<iostream>usingnamespacestd;intmain(){ int&nb……