結果
| 問題 | 
                            No.2092 Conjugation
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2023-10-06 00:21:47 | 
| 言語 | Python3  (3.13.1 + numpy 2.2.1 + scipy 1.14.1)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 138 ms / 2,000 ms | 
| コード長 | 195 bytes | 
| コンパイル時間 | 295 ms | 
| コンパイル使用メモリ | 12,544 KB | 
| 実行使用メモリ | 21,384 KB | 
| 最終ジャッジ日時 | 2024-07-26 15:15:35 | 
| 合計ジャッジ時間 | 2,978 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge1 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 | 
| other | AC * 18 | 
ソースコード
n = int(input())
xs = list(map(int, input().split()))
rr = [0] * (xs[0] + 3)
for x in xs:
    rr[x] -= 1
c = n
ans = []
for i in range(1, xs[0] + 1):
    ans.append(c)
    c += rr[i]
print(*ans)