17 lines
231 B
C
17 lines
231 B
C
#include <stdio.h>
|
|
|
|
int count[26];
|
|
|
|
int main() {
|
|
char s[101];
|
|
scanf("%s", s);
|
|
|
|
int i=0;
|
|
while(s[i] !='\0') {
|
|
count[s[i++] - 'a']++;
|
|
}
|
|
|
|
for(int j=0; j<26; j++) printf("%d ",count[j]);
|
|
|
|
return 0;
|
|
} |