#OJ1225. 统计各种字符的个数
统计各种字符的个数
统计各种字符的个数
Time Limit: 1 Sec Memory Limit: 2 MB
Description
输入多行字符串,统计其中数字字符、大写字母字符和小写字母字符以及其他字符的个数。
Input
第一行是一个正整数M,表示有M个字符串。 之后有M个串。每个串长度不超过100。
Output
输出格式见样例。
Sample Input
3
I love China!
This is a number 123.
Haha, 211 is my office.
Sample Output
Case Digits Lowers Uppers Others
1 0 8 2 3
2 3 12 1 5
3 3 13 1 6