[UVA] 12416 - Excessive Space Remover
Problem E
Excessive Space Remover
How do you remove consecutive spaces in a simple editor like notepad
in Microsoft Windows? One way is to repeatedly "replace all" two
consecutive spaces with one space (we call it an action). In this
problem, you're to simulate this...