C++-一维数组-输入n个整数(正整数), 存放至数组中,输出最大数(最前面)所在的下标
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.
Background
Description
输入n个整数(正整数,n<=100), 存放至数组中,输出最大数所在的下标(如果出现最大数相等,则输出的下标为最前面的数值,下标从0开始)
Format
Input
Output
Samples
5
9 5 8 10 3
3
5
9 10 8 10 3
1
Limitation
1s, 1024KiB for each test case.
一维数组
- Status
- Done
- Rule
- ACM/ICPC
- Problem
- 6
- Start at
- 2024-4-27 21:30
- End at
- 2024-5-2 21:30
- Duration
- 120 hour(s)
- Host
- Partic.
- 3