第一道 static Map<Character, Integer> map = new HashMap<>(); static { map.put('0', 0); map.put('1', 1); map.put('2', 1); map.put('3', 2); map.put('4', 1); map.put('5', 2); map.put('6', 2); map.put('7', 3); map.pu...