/ Vijos / 题库 /

安迪的第一个字典

安迪的第一个字典

时间限制:1秒  内存限制:256M


【题目描述】

  输入一段文本,找出所有不同的单词(连续的字母序列),按字典序从小到大输出,单词不区分大小写。

【输入格式】

  一段不超过500行的文本,每行包含的字符个数不超过1000个字符。

【输出格式】

  需要输出输入文本中不同的单词,每个单词占一行,单词的所有字母都是小写字母,按字典序排列。

【输入输出样例】

 Input

Adventures in Disneyland

Two blondes were going to Disneyland when they came to a fork in theroad. The sign read: "Disneyland Left."

So they went home

 Output

a
adventures
blondes
came
disneyland
fork
going
home
in
left
read
road
sign
so
the
they
to
two
went
were
when

【来源】

  Mr.he****

信息

ID
2792
难度
(无)
分类
字符串 | 其他 点击显示
标签
(无)
递交数
0
已通过
0
通过率
?
上传者