結果
| 問題 |
No.2092 Conjugation
|
| コンテスト | |
| ユーザー |
学ぶマン
|
| 提出日時 | 2025-08-17 21:45:30 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 88 ms / 2,000 ms |
| コード長 | 204 bytes |
| コンパイル時間 | 472 ms |
| コンパイル使用メモリ | 82,592 KB |
| 実行使用メモリ | 96,868 KB |
| 最終ジャッジ日時 | 2025-08-17 21:45:34 |
| 合計ジャッジ時間 | 3,263 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 18 |
ソースコード
N = int(input())
A = list(map(int, input().split()))
cnt = [0]*(A[0] + 2)
for a in A:
cnt[1] += 1
cnt[a + 1] -= 1
#print(cnt)
for i in range(A[0] + 1):
cnt[i + 1] += cnt[i]
print(*cnt[1:-1])
学ぶマン