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

PROGRAMMING:Output a number that is less than the mean

Luz5年前 (2021-05-10)题库453
Input 10 integers, calculate the average of these numbers, and then output all the numbers less than the average.
###Input format:
Give 10 integers on a line, separated by spaces. The topic guarantees that the sum of these integers does not exceed the range of long integers.
###Output format:
Output all the numbers less than the average in the order of input. Each number must be followed by a space (that is, in the output statement, the format control character is'% d ').
###Input example:
```in
55 23 8 11 22 89 0 -1 78 186
```
###Output example:
```out
23 8 11 22 0 -1
```






answer:If there is no answer, please comment