166902025-05-08 19:00:18algoproLegcsalódottabb versenyző (75 pont)pypy3Wrong answer 5/7575ms32000 KiB
# UUID: b14edbc2-e292-4153-af06-0aee64215e66
db =int(input())
n =[int(x) for x in input().split()]
x =0
maxo=-1
maxp=-1
akt =0
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
base5/75
1Accepted0/039ms19436 KiB
2Wrong answer0/065ms32000 KiB
3Wrong answer0/543ms19360 KiB
4Wrong answer0/545ms19408 KiB
5Wrong answer0/546ms19436 KiB
6Accepted5/539ms19436 KiB
7Wrong answer0/539ms19312 KiB
8Wrong answer0/546ms19636 KiB
9Wrong answer0/539ms19620 KiB
10Wrong answer0/546ms19572 KiB
11Wrong answer0/541ms19780 KiB
12Wrong answer0/546ms19944 KiB
13Wrong answer0/575ms32000 KiB
14Wrong answer0/565ms32000 KiB
15Wrong answer0/564ms32000 KiB
16Wrong answer0/575ms32000 KiB
17Wrong answer0/564ms32000 KiB