結果

問題 No.1335 1337
ユーザー 👑 SPD_9X2SPD_9X2
提出日時 2021-01-15 21:21:40
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 74 ms / 2,000 ms
コード長 200 bytes
コンパイル時間 310 ms
コンパイル使用メモリ 86,768 KB
実行使用メモリ 71,332 KB
最終ジャッジ日時 2023-08-17 15:47:45
合計ジャッジ時間 2,510 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 74 ms
71,112 KB
testcase_01 AC 69 ms
70,896 KB
testcase_02 AC 69 ms
71,260 KB
testcase_03 AC 69 ms
70,832 KB
testcase_04 AC 67 ms
71,080 KB
testcase_05 AC 69 ms
71,152 KB
testcase_06 AC 70 ms
71,144 KB
testcase_07 AC 71 ms
71,072 KB
testcase_08 AC 69 ms
70,828 KB
testcase_09 AC 70 ms
71,080 KB
testcase_10 AC 69 ms
71,328 KB
testcase_11 AC 69 ms
71,332 KB
testcase_12 AC 68 ms
71,112 KB
testcase_13 AC 69 ms
71,292 KB
testcase_14 AC 68 ms
70,976 KB
testcase_15 AC 70 ms
71,284 KB
testcase_16 AC 69 ms
71,104 KB
testcase_17 AC 68 ms
71,072 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

"""

"""

import sys
from sys import stdin

A = input()
S = input()

ans = []
for i in S:
    if i in "0123456789":
        ans.append(A[int(i)])
    else:
        ans.append(i)
print ("".join(ans))
0