結果
問題 | No.2092 Conjugation |
ユーザー | wgrape |
提出日時 | 2023-11-01 17:33:51 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 99 ms / 2,000 ms |
コード長 | 178 bytes |
コンパイル時間 | 535 ms |
コンパイル使用メモリ | 82,432 KB |
実行使用メモリ | 95,360 KB |
最終ジャッジ日時 | 2024-09-25 18:00:52 |
合計ジャッジ時間 | 3,997 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 18 |
ソースコード
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:])