結果

問題 No.1032 数数え
ユーザー pluto77
提出日時 2020-06-08 16:49:56
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 494 ms / 2,000 ms
コード長 144 bytes
コンパイル時間 160 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 43,528 KB
最終ジャッジ日時 2024-12-25 22:44:39
合計ジャッジ時間 2,917 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

#yuki1032
import collections
n,m=map(int,input().split())
c=collections.Counter(map(int,input().split()))
for i in range(1,m+1):
 print(i,c[i])
0