# |
Author |
Problem |
Lang |
Verdict |
Time |
Memory |
Sent |
Judged |
|
78915689 |
Virtual:
dubey07# |
450A
- 21
|
Python 3
|
Accepted
|
109 ms
|
16 KB
|
2020-05-03 20:42:36 |
2020-05-03 20:42:42 |
|
n,m=map(int,input().split())
arr=[(int(i)-1)//m for i in input().split()]
arr.reverse()
print(n-arr.index(max(arr)))
Click to see test details