結果

問題 No.2184 A○B問題
ユーザー flygonflygon
提出日時 2023-01-13 21:39:51
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 85 ms / 2,000 ms
コード長 389 bytes
コンパイル時間 1,040 ms
コンパイル使用メモリ 86,672 KB
実行使用メモリ 71,620 KB
最終ジャッジ日時 2023-08-26 03:19:50
合計ジャッジ時間 4,020 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 79 ms
71,596 KB
testcase_01 AC 79 ms
71,516 KB
testcase_02 AC 83 ms
71,564 KB
testcase_03 AC 81 ms
71,352 KB
testcase_04 AC 81 ms
71,348 KB
testcase_05 AC 81 ms
71,352 KB
testcase_06 AC 83 ms
71,620 KB
testcase_07 AC 83 ms
71,516 KB
testcase_08 AC 82 ms
71,360 KB
testcase_09 AC 83 ms
71,504 KB
testcase_10 AC 83 ms
71,496 KB
testcase_11 AC 81 ms
71,280 KB
testcase_12 AC 81 ms
71,616 KB
testcase_13 AC 81 ms
71,556 KB
testcase_14 AC 78 ms
71,504 KB
testcase_15 AC 81 ms
71,468 KB
testcase_16 AC 85 ms
71,608 KB
testcase_17 AC 83 ms
71,612 KB
testcase_18 AC 81 ms
71,520 KB
testcase_19 AC 80 ms
71,352 KB
testcase_20 AC 83 ms
71,488 KB
testcase_21 AC 83 ms
71,468 KB
testcase_22 AC 82 ms
71,164 KB
testcase_23 AC 80 ms
71,284 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
sys.setrecursionlimit(5*10**5)
input = sys.stdin.readline
from collections import defaultdict, deque, Counter
from heapq import heappop, heappush
from bisect import bisect_left, bisect_right
from math import gcd
a = list(map(int,input().split()))
b = list(map(int,input().split()))


aa = dict()
bb = dict()

ans = [0]*(5)
for i in range(5):
  ans[i] = a[b[i]-1]

  
print(*ans)
0