package C; public class Wanquanpingfang { public static void main(String[] args) { for (long i = -2147483648; i <= 2147483647; i++) { if((long)Math.sqrt(i+100)==Math.sqrt(i+100)) { if((long)Math.sqrt(i+100+168)==Math.sqrt(i+100+168)) { System.out.println("这个数是:"+i); } } } } }