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

PROGRAMMING:Output minimum value and array subscript

Luz5年前 (2021-05-10)题库340
Input 6 integer data (6 numbers can not be the same; Both positive and negative), separated by spaces, and put into the array (such as: int array [6];), Output the minimum value and its array subscript (subscript starts from 0), separated by English comma (,).
###Input format:
Input 6 integer data (6 numbers can not be the same; Both positive and negative, separated by spaces.
###Output format:
Output the minimum value and the subscript of the array, separated by commas.
###Input example:
```in
6 5 4 2 1 2
```
###Output example:
```out
1,4
```






answer:If there is no answer, please comment