結果

問題 No.2092 Conjugation
ユーザー NP
提出日時 2024-03-18 16:04:18
言語 PyPy3
(7.3.15)
結果
TLE  
実行時間 -
コード長 249 bytes
コンパイル時間 290 ms
コンパイル使用メモリ 82,428 KB
実行使用メモリ 98,660 KB
最終ジャッジ日時 2024-09-30 04:58:14
合計ジャッジ時間 4,494 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 6 TLE * 1 -- * 11
権限があれば一括ダウンロードができます

ソースコード

diff #

from collections import Counter

def young_diagram(A):
    counter = Counter(A)
    B = [sum(v for k, v in counter.items() if k > j) for j in range(max(A))]
    return B

N = int(input())
A = list(map(int, input().split()))
print(*young_diagram(A))
0