Problem G: 单词分隔
"
Time Limit |
1 秒/Second(s) |
Memory Limit |
512 兆字节/Megabyte(s) |
提交总数 |
736 |
正确数量 |
457 |
裁判形式 |
标准裁判/Standard Judge |
我的状态 |
尚未尝试 |
难度 |
|
分类标签 |
字符串 |
当前分类(单击移除):
字符串
单击选择分类:
从键盘输入一段英文,将其中的英文单词分离出来:已知单词之间的分隔符包括空格,问号、句号(小数点)和分号。
输入一行字符串 (字符不超过1000)
将分割后的单词按行输出
There are apples; oranges and peaches on the table.
There
are
apples
oranges
and
peaches
on
the
table