package test;

public class GenerateNum {
public static void main(String[] args) {
  //定义为long类型,需在数值后面加字符l
  //int count=0;
  int count=0;
  for(long i=11200000018l;i<=11200000514l;i++){
    count++;
    System.out.println(i);
      if(i==11200000514l){
        System.out.println(count);
      }
    }
  }
}

相关文章:

  • 2021-05-04
  • 2022-12-23
  • 2022-03-05
  • 2021-07-07
  • 2022-12-23
  • 2021-12-09
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-21
  • 2022-12-23
相关资源
相似解决方案