单点时限: 1.0 sec
内存限制: 512 MB
Count the occurrences of different words in several lines, and output in alphabetical order.
Words can be separated with at least one of the \n, \t, (space).
Lowercase ascii letters only. Sum length of all words will not exceed $500~000$.
aaa bbb ccc ddd aaa bbb eee aaa
aaa 3 bbb 2 ccc 1 ddd 1 eee 1