摘要:
#include <stdio.h>int main(){ int a, i, b, n; printf("There are following friendly - numbers pair smaller than 3000:\n"); for (a = 1; a < 3000; a++) { 阅读全文
摘要:
#include<stdio.h>int main(){ int m,n; scanf("%d%d",&m,&n); int i,j; int sum=0; int flag=0; for(i=m;i<=n;i++) { sum=0; for(j=1;j<i;j++) if(i%j==0) sum+ 阅读全文