题解列表

筛选

C语言 完数的判读

摘要:解题思路:见注释注意事项:参考代码:#include <stdio.h>int main(){     int N=0,num=6;//从最小的完数num=6开始判断     scanf("%d", ……

最简便易懂

摘要:解题思路:注意事项:参考代码:#include<stdio.h>    int gcd(int a,int b)    {    if(b==0) return a;    return gcd(……