牛客網單詞識別

牛客網單詞識別 Scanner sc = new Scanner (System.in); /* 使用TreeMap集合,保證得到拆分後的字符串存入集合中還是原來單詞的順序 */ TreeMap<String,Integer> tremap = new TreeMap<String,Integer>(); String str = sc.nextLine(); String[] s
相關文章
相關標籤/搜索