# |
Author |
Problem |
Lang |
Verdict |
Time |
Memory |
Sent |
Judged |
|
136047764 |
Practice:
GodSerena |
450A
- 21
|
Python 3
|
Accepted
|
61 ms
|
0 KB
|
2021-11-18 11:49:20 |
2021-11-18 11:49:20 |
|
n, m = map(int, input().split())
s = list((int(i) - 1)//m for i in input().split())
print(n - s[::-1].index(max(s)))
Click to see test details