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

PROGRAMMING:Mode

Luz5年前 (2021-05-10)题库477
Given a number of positive integers, please find the number with the most occurrences.
###Input format:
Enter a number of numbers in a row, separated by spaces (the total number of reads does not exceed 5000).
###Output format:
Output the number with the largest number of occurrences (if the answer is not unique, output the smallest one).
###Input example:
Here is a set of inputs. For example:
```in
18 999 999 2100000000
```
###Output example:
The corresponding output is given here. For example:
```out
nine hundred and ninety-nine
```







answer:If there is no answer, please comment