D. 【例53.1】 最大数位置

    Type: RemoteJudge 1000ms 64MiB

【例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个正整数,每个数在23212^{32}−1之内 。

输出格式

最大数所在位置。

样例

5
67 43 90 78 32
3

2025-10-19周训练

Not Attended
Status
Done
Rule
XCPC
Problem
10
Start at
2025-10-19 14:00
End at
2025-10-22 0:00
Duration
58 hour(s)
Host
Partic.
41