結果

問題 No.1335 1337
ユーザー brthyyjpbrthyyjp
提出日時 2021-01-15 21:22:51
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 77 ms / 2,000 ms
コード長 205 bytes
コンパイル時間 829 ms
コンパイル使用メモリ 87,136 KB
実行使用メモリ 71,332 KB
最終ジャッジ日時 2023-08-17 15:50:50
合計ジャッジ時間 3,010 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 69 ms
71,280 KB
testcase_01 AC 70 ms
71,156 KB
testcase_02 AC 72 ms
71,068 KB
testcase_03 AC 72 ms
71,292 KB
testcase_04 AC 77 ms
71,240 KB
testcase_05 AC 72 ms
71,024 KB
testcase_06 AC 70 ms
71,164 KB
testcase_07 AC 68 ms
71,256 KB
testcase_08 AC 68 ms
71,080 KB
testcase_09 AC 71 ms
71,224 KB
testcase_10 AC 67 ms
71,068 KB
testcase_11 AC 70 ms
71,072 KB
testcase_12 AC 72 ms
71,160 KB
testcase_13 AC 72 ms
70,988 KB
testcase_14 AC 69 ms
71,332 KB
testcase_15 AC 70 ms
71,016 KB
testcase_16 AC 72 ms
71,228 KB
testcase_17 AC 69 ms
71,016 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

A = str(input())
S = str(input())

d = {}
for i, a in enumerate(A):
    d[str(i)] = a

ans = []
for c in S:
    if c.isalpha():
        ans.append(c)
    else:
        ans.append(d[c])
print(''.join(ans))
0