112332024-07-26 10:47:06probaFasor (40)python3Wrong answer 2/40100ms27784 KiB
#fasor
#sor1 = '10 3'
sor1 = input()
N = int(sor1.split(' ')[0])
k = int(sor1.split(' ')[1])
#fak = [int(i) for i in '6 2 1 8 4 8 7 12 9 3'.split(' ')]
fak = [int(i) for i in input().split(' ')]
f = fak[k:len(fak)-k]
print(f.index(max(f))+k+1)
SubtaskSumTestVerdictTimeMemory
base2/40
1Accepted0/017ms2960 KiB
2Wrong answer0/023ms4068 KiB
3Wrong answer0/217ms2968 KiB
4Wrong answer0/217ms2968 KiB
5Wrong answer0/219ms3044 KiB
6Wrong answer0/217ms2916 KiB
7Wrong answer0/217ms3192 KiB
8Wrong answer0/218ms3172 KiB
9Wrong answer0/221ms4068 KiB
10Wrong answer0/220ms4068 KiB
11Wrong answer0/223ms4088 KiB
12Wrong answer0/220ms3940 KiB
13Accepted2/254ms14656 KiB
14Runtime error0/254ms14588 KiB
15Wrong answer0/289ms25896 KiB
16Wrong answer0/287ms26148 KiB
17Wrong answer0/296ms27752 KiB
18Wrong answer0/297ms27784 KiB
19Wrong answer0/2100ms26292 KiB
20Runtime error0/248ms11244 KiB
21Wrong answer0/282ms26204 KiB
22Wrong answer0/294ms24968 KiB