結果

問題 No.2092 Conjugation
ユーザー tobusakanatobusakana
提出日時 2022-12-03 22:19:02
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 87 ms / 2,000 ms
コード長 188 bytes
コンパイル時間 334 ms
コンパイル使用メモリ 82,304 KB
実行使用メモリ 97,024 KB
最終ジャッジ日時 2024-04-19 08:51:54
合計ジャッジ時間 2,982 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 36 ms
51,456 KB
testcase_01 AC 36 ms
51,584 KB
testcase_02 AC 35 ms
51,456 KB
testcase_03 AC 36 ms
52,068 KB
testcase_04 AC 36 ms
51,840 KB
testcase_05 AC 37 ms
51,456 KB
testcase_06 AC 35 ms
51,584 KB
testcase_07 AC 62 ms
79,856 KB
testcase_08 AC 76 ms
88,448 KB
testcase_09 AC 70 ms
82,024 KB
testcase_10 AC 72 ms
83,200 KB
testcase_11 AC 71 ms
83,200 KB
testcase_12 AC 70 ms
81,960 KB
testcase_13 AC 65 ms
80,016 KB
testcase_14 AC 65 ms
79,872 KB
testcase_15 AC 69 ms
81,536 KB
testcase_16 AC 82 ms
92,732 KB
testcase_17 AC 87 ms
97,024 KB
testcase_18 AC 84 ms
95,104 KB
testcase_19 AC 53 ms
75,008 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())

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

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