結果

問題 No.1032 数数え
ユーザー kshiva1126kshiva1126
提出日時 2020-05-23 21:14:28
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
TLE  
実行時間 -
コード長 197 bytes
コンパイル時間 195 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 35,044 KB
最終ジャッジ日時 2024-04-17 09:54:45
合計ジャッジ時間 4,255 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 31 ms
16,000 KB
testcase_01 AC 30 ms
10,496 KB
testcase_02 AC 35 ms
10,496 KB
testcase_03 AC 30 ms
10,496 KB
testcase_04 AC 30 ms
10,624 KB
testcase_05 AC 30 ms
10,496 KB
testcase_06 AC 30 ms
10,496 KB
testcase_07 TLE -
testcase_08 -- -
testcase_09 -- -
testcase_10 -- -
testcase_11 -- -
testcase_12 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

N, M = map(int, input().split())
L = list(map(int, input().split()))

for i in range(1, M + 1):
    cnt = 0
    for j in L:
        if i == j:
            cnt += 1
    print('{} {}'.format(i, cnt))
0