第一题:键盘输入package jdtest; import java.util.HashMap;import java.util.Map;import java.util.Scanner; /** @author: long @date: 2021/9/11 20:02 @description: /public class Main1 { public static void main(String[] args) { Scanner in = new Scanner(System.in); int n = in.nextInt(), m = in.nextInt(); in...