import java.util.*; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); String originalPassword = scan.nextLine(); // 获取最原始的密码 HashMap<Character, Integer> CharacterToInteger = new HashMap<>(); // 定义一个 HashMap,用于存...