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