Rodrick Brown wrote:
> You are given nn words. Some words may repeat. For each word, output its
> number of occurrences. The output order should correspond with the input
> order of appearance of the word. See the sample input/output for
> clarification.
>
> *Note:* Each input line ends with a *"
You are given nn words. Some words may repeat. For each word, output its
number of occurrences. The output order should correspond with the input
order of appearance of the word. See the sample input/output for
clarification.
*Note:* Each input line ends with a *"\n"* character.
*Constraints:*
1≤