public class Main { public static void main(String[] args) { for (int i = 1000; i < 10000; i++) { if ((i/1000)==(i%10)&&(i/100%10)==(i/10%10)) { System.out.println(i); } } } }
标签:100% pos 基础 ati div gpo 图片 9.png public
public class Main { public static void main(String[] args) { for (int i = 1000; i < 10000; i++) { if ((i/1000)==(i%10)&&(i/100%10)==(i/10%10)) { System.out.println(i); } } } }
标签:100% pos 基础 ati div gpo 图片 9.png public
原文地址:https://www.cnblogs.com/wzqjy/p/8280594.html