結果
| 問題 | No.1032 数数え |
| ユーザー |
67oYG9nh2YMmIci
|
| 提出日時 | 2020-07-16 11:03:21 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 308 ms / 2,000 ms |
| コード長 | 194 bytes |
| 記録 | |
| コンパイル時間 | 488 ms |
| コンパイル使用メモリ | 20,828 KB |
| 実行使用メモリ | 34,112 KB |
| 最終ジャッジ日時 | 2026-05-18 07:12:13 |
| 合計ジャッジ時間 | 3,318 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 10 |
ソースコード
N,M=map(int, input().split())
L=[ int(x) for x in input().split()]
L_cnt=[0]*(10**6)
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