2022年1月17日
摘要: 利用枚举法 import java.util.Scanner; public class Hello { public static void main(String[] args) { Scanner in = new Scanner(System.in); int a = in.nextInt( 阅读全文
posted @ 2022-01-17 15:48 Rabbit_XIN 阅读(79) 评论(0) 推荐(0)
摘要: //连续输出前50个素数import java.util.Scanner; public class Hello { public static void main(String[] args) { Scanner in = new Scanner(System.in); int isPrime ; 阅读全文
posted @ 2022-01-17 11:27 Rabbit_XIN 阅读(54) 评论(0) 推荐(0)