結果

問題 No.2092 Conjugation
ユーザー rlangevinrlangevin
提出日時 2023-05-08 23:22:34
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 121 ms / 2,000 ms
コード長 169 bytes
コンパイル時間 294 ms
コンパイル使用メモリ 87,352 KB
実行使用メモリ 101,580 KB
最終ジャッジ日時 2023-08-16 21:49:00
合計ジャッジ時間 4,813 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 68 ms
71,196 KB
testcase_01 AC 70 ms
71,432 KB
testcase_02 AC 73 ms
71,260 KB
testcase_03 AC 70 ms
71,476 KB
testcase_04 AC 69 ms
71,024 KB
testcase_05 AC 72 ms
71,500 KB
testcase_06 AC 73 ms
71,444 KB
testcase_07 AC 96 ms
85,336 KB
testcase_08 AC 117 ms
94,408 KB
testcase_09 AC 104 ms
88,064 KB
testcase_10 AC 110 ms
89,400 KB
testcase_11 AC 110 ms
89,224 KB
testcase_12 AC 107 ms
87,528 KB
testcase_13 AC 103 ms
85,840 KB
testcase_14 AC 101 ms
85,444 KB
testcase_15 AC 108 ms
87,004 KB
testcase_16 AC 121 ms
98,960 KB
testcase_17 AC 119 ms
99,524 KB
testcase_18 AC 121 ms
101,580 KB
testcase_19 AC 85 ms
86,500 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
A = list(map(int, input().split()))

ans = []
for i in range(A[0]):
    while A[-1] < i + 1:
        A.pop()
    ans.append(len(A))
    
print(*ans)    
0