public static void main(String[] args) {

for(int x=1; ;x++){
int n=x*x;
if(n<1000) continue;
if(n>9999) break;
int h1=n/100;
int lo=n%100;
if(h1%10==h1/10 && lo/10==lo%10){
System.out.println(n);
}
}

}

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-15
  • 2022-12-23
  • 2022-01-02
  • 2021-07-13
  • 2021-09-15
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-06-03
  • 2021-12-29
  • 2021-10-23
  • 2021-07-01
  • 2022-12-23
相关资源
相似解决方案