166922025-05-08 19:07:15algoproLegcsalódottabb versenyző (75 pont)pypy3Wrong answer 0/7575ms32000 KiB
# UUID: 64f6b345-30ef-4c74-9c27-1e7a656a3a4e
db =int(input())
n =[int(x) for x in input().split()]
x =0
maxo=0
maxp=n[0]
akt =1
for i in range(db):
    x =n[i]
    if x > maxp:
        if akt>maxo:
            maxo =akt
        maxp =x
        akt=1
    else:
        akt+=1

print(maxo)
SubtaskSumTestVerdictTimeMemory
base0/75
1Accepted0/043ms19484 KiB
2Wrong answer0/065ms32000 KiB
3Wrong answer0/539ms19400 KiB
4Wrong answer0/543ms19384 KiB
5Wrong answer0/539ms19520 KiB
6Wrong answer0/539ms19396 KiB
7Wrong answer0/545ms19436 KiB
8Wrong answer0/548ms19488 KiB
9Wrong answer0/545ms19692 KiB
10Wrong answer0/539ms19688 KiB
11Wrong answer0/541ms19868 KiB
12Wrong answer0/546ms19900 KiB
13Wrong answer0/575ms32000 KiB
14Wrong answer0/564ms32000 KiB
15Wrong answer0/574ms32000 KiB
16Wrong answer0/564ms32000 KiB
17Wrong answer0/564ms32000 KiB