直接将数字三位作为一份进行解析,然后需要慢慢的进行调试,细节比较多 public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); while(sc.hasNext()){ long n = sc.nextLong(); String result = solution(n); System.out.println(result); } } static Map<Integer,String> map = new HashMap<Integer,S...