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

PROGRAMMING:Most letters

Luz5年前 (2021-05-10)题库574
One day, Xiao Ming was on a whim to find out which letter was used the most in an English book. Note that the letters a - > Z, a - > Z, do not include other characters.
###Input format:
Each test data line, string length is not more than 10 ^ 6
###Output format:
Output the most used letters (in lowercase) and the number of times they are used. If there are more than one letters used the most times, the output will be in the order of the letters.
###Input example:
Here is a set of inputs. For example:
```in
When riding your bicycle backwards down a one-way street, if the
wheel falls of a canoe, how many ball bearings does it take to fill
up a water buffalo?
Hello Howard.
```
###Output example:
The corresponding output is given here. For example:
```out
e 6
la 7
a 3
hlo 2
```







answer:If there is no answer, please comment