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

PROGRAMMING:Cycle extreme difference

Luz5年前 (2021-05-10)题库397
Enter n integers to find the difference between the maximum value and the minimum value,
###Input format:
First enter the value of n (positive integer), and then enter n integers,. If n is not a positive integer, there is no output.
###Output format:
The difference between the maximum and minimum output
###Input example:
Here is a set of inputs. For example:
```in
six
21 23 32 13 51 27
```
###Output example:
The corresponding output is given here. For example:
```out
thirty-eight
```







answer:If there is no answer, please comment