結果

問題 No.1032 数数え
ユーザー splash9494splash9494
提出日時 2020-05-04 19:03:00
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
TLE  
実行時間 -
コード長 171 bytes
コンパイル時間 100 ms
コンパイル使用メモリ 10,748 KB
実行使用メモリ 28,020 KB
最終ジャッジ日時 2023-09-07 02:02:07
合計ジャッジ時間 4,168 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
12,164 KB
testcase_01 AC 16 ms
7,888 KB
testcase_02 AC 16 ms
7,840 KB
testcase_03 AC 15 ms
7,984 KB
testcase_04 AC 16 ms
7,960 KB
testcase_05 AC 16 ms
7,800 KB
testcase_06 AC 16 ms
7,968 KB
testcase_07 TLE -
testcase_08 -- -
testcase_09 -- -
testcase_10 -- -
testcase_11 -- -
testcase_12 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input = sys.stdin.readline

N, M = map(lambda x: int(x), input().split())

Ls = list(input().split())

for i in range(1, M + 1):
    print(i, Ls.count(str(i)))
0