結果
| 問題 |
No.1032 数数え
|
| ユーザー |
67oYG9nh2YMmIci
|
| 提出日時 | 2020-07-16 11:02:39 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 194 bytes |
| コンパイル時間 | 194 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 29,548 KB |
| 最終ジャッジ日時 | 2024-11-24 07:58:44 |
| 合計ジャッジ時間 | 2,003 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 8 RE * 2 |
ソースコード
N,M=map(int, input().split())
L=[ int(x) for x in input().split()]
L_cnt=[0]*(10**5)
for i in range(len(L)):
t=L[i]
L_cnt[t]+=1
for i in range(1,M+1):
print(str(i)+" "+str(L_cnt[i]))
67oYG9nh2YMmIci