public class HJ56_完全数计算 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); List<Integer> list = new ArrayList<>(); //用于存储得到的因数 //System.out.println(getAllTheFactors(n,list)); int total = 0; // 不超过n的的完全数的个数 for(...