結果
| 問題 | No.1032 数数え |
| ユーザー |
ts_vtp
|
| 提出日時 | 2020-04-27 11:35:20 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 287 ms / 2,000 ms |
| コード長 | 190 bytes |
| 記録 | |
| コンパイル時間 | 634 ms |
| コンパイル使用メモリ | 20,700 KB |
| 実行使用メモリ | 47,300 KB |
| 最終ジャッジ日時 | 2026-05-15 14:42:14 |
| 合計ジャッジ時間 | 3,203 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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