結果
| 問題 | No.1032 数数え |
| ユーザー |
vwxyz
|
| 提出日時 | 2022-09-07 00:56:00 |
| 言語 | Python3 (3.15.2 + numpy 2.5.4 + scipy 1.18.1 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 241 ms / 2,000 ms |
| + 907µs | |
| コード長 | 283 bytes |
| 記録 | |
| コンパイル時間 | 53 ms |
| コンパイル使用メモリ | 14,848 KB |
| 実行使用メモリ | 39,276 KB |
| 最終ジャッジ日時 | 2026-10-29 02:09:34 |
| 合計ジャッジ時間 | 2,692 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge7_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 11 |
ソースコード
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