#B. 【例53.1】 最大数位置

    Type: Default 1000ms 256MiB

【例53.1】 最大数位置

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.

说明

输入nn个整数,输出最大数所在位置(n1000n≤1000)。若有多个最大值,输出最大值从左往右的第一个位置。

输入格式

第一行,数的个数nn;
第二行,nn个正整数,每个数在232-2^{32} ~ 23212^{32}−1之内 。

输出格式

最大数所在位置。

样例

5
67 43 90 78 32
3

周六1900阶段测试

Not Attended
Status
Done
Rule
Ledo
Problem
8
Start at
2026-5-23 18:45
End at
2026-5-23 21:00
Duration
2.3 hour(s)
Host
Partic.
5