結果
| 問題 | No.1032 数数え |
| ユーザー |
vwxyz
|
| 提出日時 | 2022-09-07 00:56:00 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 329 ms / 2,000 ms |
| コード長 | 283 bytes |
| 記録 | |
| コンパイル時間 | 402 ms |
| コンパイル使用メモリ | 20,572 KB |
| 実行使用メモリ | 46,084 KB |
| 最終ジャッジ日時 | 2026-05-16 05:07:15 |
| 合計ジャッジ時間 | 4,025 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 10 |
ソースコード
from collections import defaultdict
import sys
from typing import Counter
readline=sys.stdin.readline
write=sys.stdout.write
from math import gcd as GCD
import math
N,M=map(int,readline().split())
L=Counter(list(map(int,readline().split())))
for m in range(1,M+1):
print(m,L[m])
vwxyz