166912025-05-08 19:02:07algoproLegcsalódottabb versenyző (75 pont)pypy3Wrong answer 5/7578ms32000 KiB
# UUID: 132a1044-c654-4731-94c5-7231fea31354
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
if akt>maxo:
    maxo =akt
print(maxo)
SubtaskSumTestVerdictTimeMemory
base5/75
1Accepted0/039ms19624 KiB
2Wrong answer0/076ms32000 KiB
3Wrong answer0/543ms19288 KiB
4Wrong answer0/539ms19500 KiB
5Wrong answer0/539ms19436 KiB
6Accepted5/539ms19432 KiB
7Wrong answer0/545ms19440 KiB
8Wrong answer0/548ms19688 KiB
9Wrong answer0/545ms19732 KiB
10Wrong answer0/539ms19584 KiB
11Wrong answer0/541ms19752 KiB
12Wrong answer0/548ms19944 KiB
13Wrong answer0/565ms32000 KiB
14Wrong answer0/564ms32000 KiB
15Wrong answer0/575ms32000 KiB
16Wrong answer0/578ms32000 KiB
17Wrong answer0/564ms32000 KiB