結果

問題 No.1032 数数え
ユーザー dangodango
提出日時 2023-06-11 14:54:20
言語 PyPy3
(7.3.15)
結果
RE  
実行時間 -
コード長 159 bytes
コンパイル時間 309 ms
コンパイル使用メモリ 87,160 KB
実行使用メモリ 108,764 KB
最終ジャッジ日時 2023-08-31 01:56:40
合計ジャッジ時間 3,337 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,152 KB
testcase_01 AC 72 ms
71,264 KB
testcase_02 AC 73 ms
71,004 KB
testcase_03 AC 72 ms
71,176 KB
testcase_04 AC 73 ms
71,152 KB
testcase_05 AC 72 ms
71,384 KB
testcase_06 AC 74 ms
71,216 KB
testcase_07 AC 157 ms
108,764 KB
testcase_08 AC 73 ms
71,152 KB
testcase_09 RE -
testcase_10 RE -
testcase_11 AC 73 ms
71,136 KB
testcase_12 RE -
権限があれば一括ダウンロードができます

ソースコード

diff #

N, M = map(int, input().split())
L = list(map(int, input().split()))
K = [0] * max(L)
for I in L:
  K[I - 1] += 1
for T in range(M):
  print(f"{T + 1} {K[T]}")
0