-->
当前位置:首页 > 题库

PROGRAMMING:Count the number of capital letters

Luz5年前 (2021-05-10)题库489
Input a line of characters from the keyboard, then count the number of each capital letter, and finally output their number in the order from 'a' to 'Z'.
###Input format:
One line of characters.
###Output format:
The number of each capital letter followed by a space character.
###Input example:
```in
abCDEFAAdefffXyZ123456
```
###Output example:
```out
2 0 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1
```







answer:If there is no answer, please comment