我不懂我哪里错了,哭唧唧
#include<stdio.h>
#include<string.h>
int main()
{
char h[201],d;
int m[26],i;
while(scanf("%s",h)!=EOF){
i=0;
memset(m,0,sizeof(m));
while(h[i]!='#'){
if(h[i]>='a'&&h[i]<='z')
m[h[i]-'a']++;
i++;
}
for(d='a';d<='z';d++){
printf("%c %d\n",d,m[d-'a']);
}
}
return 0;
}