Given a set of words, output these words in alphabetic order.
There are several test cases. Each test case starts with a number n (1<=n<=100000) denoting the number of words, followed by n words. There are only lower-case letters in the words. The length of a word is at most 10.
Output these words for each test case according to the sample output
Migrated from old NTUJ.
No. | Testdata Range | Score |
---|