結果

問題 No.8016 unordered_mapなるたけ落とすマン
ユーザー zimpha
提出日時 2017-12-14 22:08:48
言語 PyPy3
(7.3.15)
結果
MLE  
実行時間 -
コード長 208 bytes
コンパイル時間 570 ms
コンパイル使用メモリ 82,200 KB
実行使用メモリ 110,084 KB
最終ジャッジ日時 2024-12-14 13:32:11
合計ジャッジ時間 8,979 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample MLE * 3
other MLE * 48
権限があれば一括ダウンロードができます

ソースコード

diff #

n, m = map(int, input().split())
cnt = {}
for x in map(int, input().split()):
  if x in cnt:
    cnt[x] += 1
  else:
    cnt[x] = 1
c = [cnt[x] if x in cnt else 0 for x in map(int, input().split())]
print(*c)
0