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

PROGRAMMING:String statistics

Luz5年前 (2021-05-10)题库392
For a given string, count the number of times the number of characters appear.
###Input format:
There are multiple lines of input data. The first line is an integer n, which represents the number of test cases, followed by N lines. Each line contains a string composed of letters and numbers.
###Output format:
For each test case, output the number of values in the string, and each output occupies one line.
###Input example:
Here is a set of inputs. For example:
```in
two
asdfasdf123123asdfasdf
asdf111111111asdfasdfasdf
```
###Output example:
The corresponding output is given here. For example:
```out
six
nine
```







answer:If there is no answer, please comment