摘要:
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner (System.in); int n = sc.nextInt(); int [ 阅读全文
摘要:
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); while 阅读全文
摘要:
判断数字n是不是质数 import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextIn 阅读全文
摘要:
###1.求第n项(前77项) ``` import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = 阅读全文
摘要:
3个数升序排序 if (a > b) {double t = a; a = b; b = t;} if (a > c) {double t = a; a = c; c = t;} if (b > c) {double t = b; b = c; c = t;} 3个数降序排序 if (a < b) 阅读全文