結果

問題 No.2092 Conjugation
ユーザー wgrapewgrape
提出日時 2023-11-01 17:33:51
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 84 ms / 2,000 ms
コード長 178 bytes
コンパイル時間 198 ms
コンパイル使用メモリ 81,868 KB
実行使用メモリ 95,288 KB
最終ジャッジ日時 2023-11-01 17:33:55
合計ジャッジ時間 3,685 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 34 ms
53,588 KB
testcase_01 AC 34 ms
53,588 KB
testcase_02 AC 35 ms
53,588 KB
testcase_03 AC 34 ms
53,588 KB
testcase_04 AC 34 ms
53,588 KB
testcase_05 AC 35 ms
53,588 KB
testcase_06 AC 34 ms
53,588 KB
testcase_07 AC 60 ms
79,284 KB
testcase_08 AC 76 ms
87,892 KB
testcase_09 AC 68 ms
81,896 KB
testcase_10 AC 70 ms
83,028 KB
testcase_11 AC 69 ms
83,040 KB
testcase_12 AC 66 ms
81,388 KB
testcase_13 AC 77 ms
79,672 KB
testcase_14 AC 64 ms
79,672 KB
testcase_15 AC 69 ms
81,120 KB
testcase_16 AC 81 ms
92,380 KB
testcase_17 AC 84 ms
95,288 KB
testcase_18 AC 83 ms
94,964 KB
testcase_19 AC 51 ms
74,928 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
A = list(map(int,input().split()))
M = A[0] + 1
D = [0] * M

for a in A:
    D[a] += 1
    
for i in range(M - 1, 0, -1):
    D[i - 1] += D[i]
    
print(*D[1:])
0