結果

問題 No.1032 数数え
ユーザー pluto77pluto77
提出日時 2020-06-08 16:49:56
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 326 ms / 2,000 ms
コード長 144 bytes
コンパイル時間 191 ms
コンパイル使用メモリ 10,584 KB
実行使用メモリ 44,404 KB
最終ジャッジ日時 2023-08-26 20:37:28
合計ジャッジ時間 2,391 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 20 ms
8,568 KB
testcase_01 AC 19 ms
8,436 KB
testcase_02 AC 18 ms
8,424 KB
testcase_03 AC 19 ms
8,428 KB
testcase_04 AC 19 ms
8,620 KB
testcase_05 AC 19 ms
8,504 KB
testcase_06 AC 19 ms
8,468 KB
testcase_07 AC 315 ms
44,404 KB
testcase_08 AC 19 ms
8,536 KB
testcase_09 AC 31 ms
8,696 KB
testcase_10 AC 19 ms
8,592 KB
testcase_11 AC 19 ms
8,592 KB
testcase_12 AC 326 ms
23,880 KB
権限があれば一括ダウンロードができます

ソースコード

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