結果

問題 No.8016 unordered_mapなるたけ落とすマン
ユーザー zutsu
提出日時 2022-05-12 21:11:36
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 205 ms / 1,000 ms
コード長 195 bytes
コンパイル時間 154 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 30,908 KB
最終ジャッジ日時 2024-07-20 15:30:55
合計ジャッジ時間 12,160 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 48
権限があれば一括ダウンロードができます

ソースコード

diff #

import collections

N,M = map(int, input().split())
A = list(map(int, input().split()))
B = list(map(int, input().split()))
c = collections.Counter(A)
for b in B:
    print(c[b], end=' ')
print()
0