結果

問題 No.2092 Conjugation
ユーザー prussian_coder
提出日時 2022-10-07 21:37:58
言語 PyPy3
(7.3.15)
結果
RE  
実行時間 -
コード長 182 bytes
コンパイル時間 745 ms
コンパイル使用メモリ 82,048 KB
実行使用メモリ 89,344 KB
最終ジャッジ日時 2024-06-12 06:32:52
合計ジャッジ時間 2,107 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 RE * 1
other AC * 4 WA * 1 RE * 13
権限があれば一括ダウンロードができます

ソースコード

diff #

N=int(input())
A=[int(x) for x in input().split()]
M=A[0]
B=[0 for _ in range(M)]
for i in range(M):
	B[A[i]-1]+=1
C=[0]*M
c=0
for i in reversed(range(M)):
	c+=B[i]
	C[i]=c
print(*C)
0