# |
Author |
Problem |
Lang |
Verdict |
Time |
Memory |
Sent |
Judged |
|
165588854 |
Practice:
Haritha_D |
450A
- 21
|
PyPy 3
|
Accepted
|
77 ms
|
12 KB
|
2022-07-24 20:03:52 |
2022-07-24 20:03:52 |
|
n,m=map(int,input().split())
a=list((int(i)-1)//m for i in input().split())
print(n-a[::-1].index(max(a)))
Click to see test details