#P541. 安迪的第一个字典
安迪的第一个字典
描述
输入一个文本,找出所有不同的单词(连续的字母序列),按字典序从小到大输出,单词不区分大小写。
输入格式
输入文件是一个不超过 行的文本文件。一个输入行不超过 个字符。
输出格式
你的输出需要给出一个出现在文件中的不同单词的列表。所有单词以小写形式按字母顺序显示。你可以假设不同单词的个数不超过 。
输入样例 1
Adventures in Disneyland
Two blondes were going to Disneyland when they came to a fork in the
road. The sign read: "Disneyland Left."
So they went home.
输出样例 1
a
adventures
blondes
came
disneyland
fork
going
home
in
left
read
road
sign
so
the
they
to
two
went
were
when