結果

問題 No.2092 Conjugation
ユーザー ああいいああいい
提出日時 2022-10-08 20:50:04
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 118 ms / 2,000 ms
コード長 179 bytes
コンパイル時間 461 ms
コンパイル使用メモリ 86,960 KB
実行使用メモリ 95,768 KB
最終ジャッジ日時 2023-09-05 02:20:51
合計ジャッジ時間 4,053 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
70,868 KB
testcase_01 AC 72 ms
71,296 KB
testcase_02 AC 72 ms
71,348 KB
testcase_03 AC 72 ms
71,380 KB
testcase_04 AC 70 ms
71,204 KB
testcase_05 AC 72 ms
70,876 KB
testcase_06 AC 72 ms
71,340 KB
testcase_07 AC 93 ms
80,040 KB
testcase_08 AC 118 ms
88,708 KB
testcase_09 AC 104 ms
82,796 KB
testcase_10 AC 108 ms
84,084 KB
testcase_11 AC 107 ms
84,068 KB
testcase_12 AC 103 ms
82,268 KB
testcase_13 AC 98 ms
80,428 KB
testcase_14 AC 95 ms
80,236 KB
testcase_15 AC 103 ms
81,688 KB
testcase_16 AC 117 ms
93,504 KB
testcase_17 AC 111 ms
94,156 KB
testcase_18 AC 113 ms
95,768 KB
testcase_19 AC 84 ms
86,584 KB
権限があれば一括ダウンロードができます

ソースコード

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