제출 #869676

#제출 시각아이디문제언어결과실행 시간메모리
869676Hoang_CoderBaloni (COCI15_baloni)Cpython 3
0 / 100
2076 ms108532 KiB
n = int(input())
inps = [int(x) for x in input().split()]
kq = []
def constang(array):
    ls = [array[0]]
    nn = array[0]
    for i in range(len(array)):
        if nn <= array[i]:
            ls.append(array[i])
            nn = array[i]
    return ls
cjd = []
for j in range(len(inps)):
    kq.append(constang(inps[j:]))
for i in kq:
    cjd.append(len(i))
print(max(cjd))
#결과 실행 시간메모리채점기 출력
결과를 불러오는 중입니다…