結果

問題 No.3016 unordered_mapなるたけ落とすマン
ユーザー vwxyzvwxyz
提出日時 2022-10-18 10:09:20
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 164 ms / 1,000 ms
コード長 230 bytes
コンパイル時間 148 ms
コンパイル使用メモリ 10,720 KB
実行使用メモリ 29,308 KB
最終ジャッジ日時 2023-09-11 04:54:27
合計ジャッジ時間 12,764 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 18 ms
8,464 KB
testcase_01 AC 18 ms
8,420 KB
testcase_02 AC 18 ms
8,564 KB
testcase_03 AC 155 ms
28,508 KB
testcase_04 AC 162 ms
28,312 KB
testcase_05 AC 163 ms
29,308 KB
testcase_06 AC 164 ms
29,200 KB
testcase_07 AC 164 ms
28,724 KB
testcase_08 AC 160 ms
29,196 KB
testcase_09 AC 162 ms
28,736 KB
testcase_10 AC 160 ms
28,620 KB
testcase_11 AC 163 ms
29,120 KB
testcase_12 AC 159 ms
28,584 KB
testcase_13 AC 160 ms
29,012 KB
testcase_14 AC 159 ms
28,972 KB
testcase_15 AC 159 ms
28,596 KB
testcase_16 AC 157 ms
28,604 KB
testcase_17 AC 159 ms
28,460 KB
testcase_18 AC 157 ms
28,464 KB
testcase_19 AC 162 ms
28,812 KB
testcase_20 AC 156 ms
28,588 KB
testcase_21 AC 157 ms
28,388 KB
testcase_22 AC 158 ms
28,524 KB
testcase_23 AC 159 ms
28,376 KB
testcase_24 AC 159 ms
28,764 KB
testcase_25 AC 159 ms
28,748 KB
testcase_26 AC 159 ms
28,392 KB
testcase_27 AC 159 ms
28,332 KB
testcase_28 AC 162 ms
28,360 KB
testcase_29 AC 163 ms
28,632 KB
testcase_30 AC 161 ms
28,272 KB
testcase_31 AC 159 ms
28,464 KB
testcase_32 AC 157 ms
28,336 KB
testcase_33 AC 161 ms
28,268 KB
testcase_34 AC 158 ms
28,436 KB
testcase_35 AC 158 ms
29,136 KB
testcase_36 AC 159 ms
29,212 KB
testcase_37 AC 159 ms
29,132 KB
testcase_38 AC 158 ms
28,328 KB
testcase_39 AC 155 ms
28,224 KB
testcase_40 AC 158 ms
29,100 KB
testcase_41 AC 18 ms
8,504 KB
testcase_42 AC 18 ms
8,636 KB
testcase_43 AC 18 ms
8,640 KB
testcase_44 AC 30 ms
9,860 KB
testcase_45 AC 29 ms
9,940 KB
testcase_46 AC 29 ms
9,900 KB
testcase_47 AC 131 ms
20,192 KB
testcase_48 AC 130 ms
20,744 KB
testcase_49 AC 132 ms
19,788 KB
testcase_50 AC 150 ms
20,484 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
from collections import Counter
readline=sys.stdin.readline

N,M=map(int,readline().split())
A=Counter(list(map(int,readline().split())))
B=list(map(int,readline().split()))
for i in range(M):
    B[i]=A[B[i]]
print(*B)
0