結果

問題 No.2092 Conjugation
ユーザー aaaaaaaaaa2230aaaaaaaaaa2230
提出日時 2022-10-07 22:05:42
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 108 ms / 2,000 ms
コード長 177 bytes
コンパイル時間 1,276 ms
コンパイル使用メモリ 86,928 KB
実行使用メモリ 101,640 KB
最終ジャッジ日時 2023-09-03 12:41:19
合計ジャッジ時間 3,328 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 64 ms
71,288 KB
testcase_01 AC 63 ms
71,404 KB
testcase_02 AC 63 ms
71,324 KB
testcase_03 AC 62 ms
71,520 KB
testcase_04 AC 63 ms
71,116 KB
testcase_05 AC 62 ms
71,264 KB
testcase_06 AC 62 ms
71,268 KB
testcase_07 AC 88 ms
85,368 KB
testcase_08 AC 106 ms
94,564 KB
testcase_09 AC 97 ms
88,292 KB
testcase_10 AC 99 ms
89,544 KB
testcase_11 AC 99 ms
89,504 KB
testcase_12 AC 100 ms
87,668 KB
testcase_13 AC 93 ms
85,668 KB
testcase_14 AC 92 ms
85,928 KB
testcase_15 AC 105 ms
87,512 KB
testcase_16 AC 108 ms
99,160 KB
testcase_17 AC 106 ms
100,544 KB
testcase_18 AC 106 ms
101,640 KB
testcase_19 AC 78 ms
87,344 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
A = list(map(int,input().split()))[::-1]
m = A[-1]
ans = []
now = 0
for i in range(m):
    while A[now] <= i:
        now += 1
    ans.append(n-now)
print(*ans)
0