結果
| 問題 |
No.1032 数数え
|
| ユーザー |
ts_vtp
|
| 提出日時 | 2020-04-27 11:35:20 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 352 ms / 2,000 ms |
| コード長 | 190 bytes |
| コンパイル時間 | 171 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 43,628 KB |
| 最終ジャッジ日時 | 2024-11-21 10:45:04 |
| 合計ジャッジ時間 | 2,000 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 10 |
ソースコード
from collections import Counter as C
N, M = (int(x) for x in input().split())
L = (int(x) for x in input().split())
L = dict(C(L))
for x in range(1, M + 1):
print(f"{x} {L.get(x, 0)}")
ts_vtp