最大数所在位置
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
题目描述
输入n个正整数,存放在数组a[1]到a[n]中,输出最大数所在位置(n<=10000),如果有多个相同的最大数,输出第一次出现的位置。
样例
5
67 43 90 78 32
3
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
输入n个正整数,存放在数组a[1]到a[n]中,输出最大数所在位置(n<=10000),如果有多个相同的最大数,输出第一次出现的位置。
5
67 43 90 78 32
3
By signing up a HydroOJ universal account, you can submit code and join discussions in all online judging services provided by us.