public class PerfectNumber { public static void main(String[] args){ for(int i=2;i<1000;i++){ int sum=0; //查找因数 for(int j=1;j