#P400. 【例69.3】 字符串中的空格
【例69.3】 字符串中的空格
Description
Given strings containing some spaces, you need to remove all spaces from these strings and output the results.
Input Format
The first line contains a single positive integer , indicating the number of strings ().
The next lines (from line 2 to line ) each contain a string (composed of uppercase letters, lowercase letters, and spaces).
Output Format
The output consists of lines. The first line contains a single positive integer representing the total number of spaces removed. Lines 2 to contain the strings after removing spaces (in the same order as input).
Sample
3
Yan ke lei
iiiii
acac aca c ac9
Yankelei
iiiii
acacacacac