import java.util.*; public class Main { public static void main(String[] args) { //创建Scanner对象从控制台获取输入 Scanner scanner = new Scanner(System.in); //读取哈希表的长度 int tableSize=scanner.nextInt(); //创建map对象,类型为<Integer, Integer>,指定容量为tableSize Map&l...