結果

問題 No.2092 Conjugation
ユーザー miya145592miya145592
提出日時 2023-05-04 07:13:11
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 100 ms / 2,000 ms
コード長 189 bytes
コンパイル時間 160 ms
コンパイル使用メモリ 82,048 KB
実行使用メモリ 101,504 KB
最終ジャッジ日時 2024-05-01 20:17:26
合計ジャッジ時間 2,775 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 39 ms
52,096 KB
testcase_01 AC 38 ms
52,224 KB
testcase_02 AC 39 ms
51,712 KB
testcase_03 AC 39 ms
51,840 KB
testcase_04 AC 41 ms
51,712 KB
testcase_05 AC 39 ms
51,840 KB
testcase_06 AC 39 ms
51,968 KB
testcase_07 AC 83 ms
86,144 KB
testcase_08 AC 95 ms
94,464 KB
testcase_09 AC 85 ms
88,192 KB
testcase_10 AC 86 ms
89,472 KB
testcase_11 AC 86 ms
89,728 KB
testcase_12 AC 86 ms
87,936 KB
testcase_13 AC 84 ms
86,016 KB
testcase_14 AC 81 ms
86,656 KB
testcase_15 AC 85 ms
87,296 KB
testcase_16 AC 99 ms
99,072 KB
testcase_17 AC 99 ms
100,224 KB
testcase_18 AC 100 ms
101,504 KB
testcase_19 AC 58 ms
74,624 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
A = list(map(int, input().split()))
C = [0 for _ in range(A[0])]
C[0] = N
for a in A:
    if a<A[0]:
        C[a]-=1
S = [0]
for c in C:
    S.append(S[-1]+c)
print(*S[1:])
0