标签:简单 include 简单题 return main turn for int ++
#include<stdio.h>
int main()
{
int i,j,t;
for(i=2;i<=1000;i++)
{
t=0;
for(j=1;j<i;j++)
{
if(i%j==0)
t+=j;
}
if(t==i)
printf("%d\n",i);
}
return 0;
}
标签:简单 include 简单题 return main turn for int ++
原文地址:http://www.cnblogs.com/anjiale/p/6115254.html