結果

問題 No.2092 Conjugation
ユーザー a a
提出日時 2022-10-10 03:55:30
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
RE  
実行時間 -
コード長 173 bytes
コンパイル時間 167 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 23,928 KB
最終ジャッジ日時 2024-06-24 00:20:55
合計ジャッジ時間 4,422 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 5 RE * 1 TLE * 1 -- * 11
権限があれば一括ダウンロードができます

ソースコード

diff #

n=int(input())
a=list(map(int,input().split()))
def f(x):
    if x==0:
        return n
    return f(x-1)-a.count(x)
b=[str(f(i)) for i in range(max(a))]
print(" ".join(b))
0