-->
当前位置:首页 > 题库 > 正文内容

PROGRAMMING:minimum of array

Luz3年前 (2021-05-10)题库324
Input 10 integers and output the minimum and the location(subscript).
### Input:
10 integers seperated by space.
### Output:
Two integers separated by space, the first one is the minimum, the second one is the location
### Input sample:
```
9 2 3 5 1 8 7 6 3 4
```
### Output sample:
```
1 4
```






answer:If there is no answer, please comment

发表评论

访客

◎欢迎参与讨论,请在这里发表您的看法和观点。