accepted cpp Word Break