結果
問題 | No.1032 数数え |
ユーザー |
![]() |
提出日時 | 2023-04-28 18:52:40 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 202 bytes |
コンパイル時間 | 177 ms |
コンパイル使用メモリ | 82,432 KB |
実行使用メモリ | 107,904 KB |
最終ジャッジ日時 | 2024-11-17 18:08:35 |
合計ジャッジ時間 | 1,679 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 3 |
other | AC * 2 WA * 8 |
ソースコード
N,M = map(int,input().split()) L = list(map(int,input().split())) count = [0]*(M+1) for i in range(N): l = L[i] if l <= M: count[l] += 1 for i in range(1,M+1): if count[i]: print(i,count[i])