General
 
 
# 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
→ Source
n,m=map(int,input().split())
a=list((int(i)-1)//m for i in input().split())
print(n-a[::-1].index(max(a)))
?
Time: ? ms, memory: ? KB
Verdict: ?
Input
?
Participant's output
?
Jury's answer
?
Checker comment
?
Diagnostics
?
Click to see test details