General
 
 
# Author Problem Lang Verdict Time Memory Sent Judged  
20774751 Practice:
Sanjit
450A - 21 Python 3 Accepted 77 ms 36 KB 2016-09-20 15:00:36 2016-09-20 15:00:36
→ Source
n,m=map(int,input().split())
a=[(int(i)-1)//m for i in input().split()]
a.reverse()
print(n-a.index(max(a)))
?
Time: ? ms, memory: ? KB
Verdict: ?
Input
?
Participant's output
?
Jury's answer
?
Checker comment
?
Diagnostics
?
Click to see test details