摘要: import java.util.Scanner; public class W { /* A B C D E F G B A B C D E F C B A B C D E D C B A B C D E D C B A B C */ public static void main(String[] args) { Scanner scanner = new ... 阅读全文
posted @ 2018-01-14 20:40 Bap 阅读(407) 评论(0) 推荐(0) 编辑
摘要: import java.util.Scanner; public class Main { public static void main(String[] args) { long min = 0; long max = 0; long add = 0; Scanner scanner = new Scanner(... 阅读全文
posted @ 2018-01-14 20:38 Bap 阅读(290) 评论(0) 推荐(0) 编辑
摘要: import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int size = scanner.nextInt(); int ints[]... 阅读全文
posted @ 2018-01-14 20:36 Bap 阅读(344) 评论(0) 推荐(0) 编辑
摘要: import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int nextInt = scanner.nextInt(); repl... 阅读全文
posted @ 2018-01-14 20:33 Bap 阅读(402) 评论(0) 推荐(0) 编辑
摘要: public class Main { public static void main(String[] args) { for (int i = 100; i <= 999; i++) { if (((i/100)*(i/100)*(i/100)+(i%100/10)*(i%100/10)*(i%100/10)+(i%10)*(i%10)*(... 阅读全文
posted @ 2018-01-14 20:30 Bap 阅读(346) 评论(0) 推荐(0) 编辑
摘要: package shiti; import java.util.Scanner; //十进制转十六进制 public class D { public static void main(String[] args) { Scanner cin = new Scanner(System.in); int n = cin.nextInt(), m = ... 阅读全文
posted @ 2018-01-14 20:29 Bap 阅读(1408) 评论(0) 推荐(0) 编辑