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个整数(正整数), 存放至数组中,输出最大数所在的下标(如果出现最大数相等,则输出的下标为最前面的数值)
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.
C++基础知识03(数组-一维数组和二维数组)
- Status
- Done
- Rule
- ACM/ICPC
- Problem
- 6
- Start at
- 2024-5-5 17:00
- End at
- 2024-5-20 17:00
- Duration
- 360 hour(s)
- Host
- Partic.
- 11