結果
問題 | No.1032 数数え |
ユーザー | shamio |
提出日時 | 2020-06-02 07:51:54 |
言語 | Python3 (3.12.2 + numpy 1.26.4 + scipy 1.12.0) |
結果 |
AC
|
実行時間 | 358 ms / 2,000 ms |
コード長 | 188 bytes |
コンパイル時間 | 108 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 23,740 KB |
最終ジャッジ日時 | 2024-05-02 22:55:58 |
合計ジャッジ時間 | 2,330 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 27 ms
12,032 KB |
testcase_01 | AC | 27 ms
12,160 KB |
testcase_02 | AC | 27 ms
12,032 KB |
testcase_03 | AC | 28 ms
12,288 KB |
testcase_04 | AC | 29 ms
12,160 KB |
testcase_05 | AC | 29 ms
12,160 KB |
testcase_06 | AC | 29 ms
12,032 KB |
testcase_07 | AC | 358 ms
23,128 KB |
testcase_08 | AC | 29 ms
12,160 KB |
testcase_09 | AC | 42 ms
12,544 KB |
testcase_10 | AC | 28 ms
12,160 KB |
testcase_11 | AC | 29 ms
12,160 KB |
testcase_12 | AC | 343 ms
23,740 KB |
ソースコード
n, m = map(int, input().split()) l = map(int, input().split()) MAX = 2 * 10 ** 5 cnt = [0] * (MAX + 1) for e in l: cnt[e] += 1 for i, e in enumerate(cnt[1:m+1], 1): print(i, e)