单词出现频率统计
- 描述
-
统计单词出现次数并排序输出
- 输入
- 最多60,000个单词,每个一行。单词由小写字母构成,不超过30个字符。
- 输出
- 按单词出现次数从高到低输出所有单词。次数相同的,按照词典序从小到大排。
- 样例输入
-
about send about me
- 样例输出
-
2 about 1 me 1 send
统计单词出现次数并排序输出
about send about me
2 about 1 me 1 send
Scratch3.0 全国青少年软件编程等级考试 Python Scratch图形化一级 Scratch图形化四级 Scratch图形化三级 Scratch图形化二级 电子学会