public class Seventh {
	public static void main(String[] args){
	
		double x=0,a=1,b=9;
		while(x!=a*a-100&&x!=b*b-268){
			 x++;
			 a=Math.floor(Math.sqrt(x+100));
			// System.out.println(a);
			 b=Math.floor(Math.sqrt(x+268));
			// System.out.println(b);
			
		}
		System.out.println(x);

}
}

  

相关文章:

  • 2021-12-27
  • 2021-12-12
  • 2021-07-31
  • 2022-03-06
  • 2021-08-23
  • 2021-04-04
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-01-19
  • 2021-11-15
  • 2021-07-24
  • 2021-05-24
  • 2022-12-23
  • 2021-07-22
相关资源
相似解决方案