結果

問題 No.2092 Conjugation
ユーザー ああいいああいい
提出日時 2022-10-08 20:50:04
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 93 ms / 2,000 ms
コード長 179 bytes
コンパイル時間 224 ms
コンパイル使用メモリ 82,688 KB
実行使用メモリ 95,104 KB
最終ジャッジ日時 2024-06-22 23:14:46
合計ジャッジ時間 3,054 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 18
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
A = list(map(int,input().split()))
ans = [0] * A[0]
for j in range(1,A[0] + 1):
    while len(A) and A[-1] < j:
        A.pop()
    ans[j-1] = len(A)
print(*ans)
0