去除空格
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
题目背景
小明好不容易毕业后找到工作了,但小明却得到了老板的压"榨"。
题目描述
帮助小明,完成任务。
任务:把一个句子的单词与单词留得只剩一个空格。
输入
一个字符串。
输出
经过"加工"后的字符串。
样例1
Hello world!
Hello world!
样例2
I am a doctor.
I am a doctor.
数据范围
小明
- Status
- Done
- Rule
- OI
- Problem
- 13
- Start at
- 2024-6-16 7:00
- End at
- 2025-1-10 15:00
- Duration
- 5000 hour(s)
- Host
- Partic.
- 5