1173: 字母统计简单条形图
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:1
Solved:0
Description
输入多行英文文本,统计所有字母出现的频率(不区分大小写),然后用条形图的样式输出统计结果。每出现一次用一个*表示。具体样式详见样例
Input
第一行,输入一个数字n(0<n<10),以下n行,输入英文文本。每行字符数不超过100。
Output
用条形图的样式输出统计结果。具体样式详见样例。
Sample Input Copy
2
Once learning stops, vegetation sets in.
It is a common fallacy to regard school as the only workshop for the acquisition of knowledge.
Sample Output Copy
A:********
B:
C:*****
D:**
E:**********
F:***
G:****
H:****
I:********
J:
K:**
L:******
M:**
N:*********
O:***************
P:**
Q:*
R:*****
S:*********
T:*********
U:*
V:*
W:**
X:
Y:**
Z: