日期:2014-05-20 浏览次数:21345 次
for(long l =1;l<100000;l++){
long b = (long) Math.sqrt(l+100);
long b1 = (long) Math.sqrt(l+100+168);
if(Math.pow(b, 2)==l+100&&Math.pow(b1, 2)==l+268){
System.out.println(l);
}
}