結果

問題 No.1335 1337
ユーザー lam6er
提出日時 2025-03-20 18:40:49
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 39 ms / 2,000 ms
コード長 176 bytes
コンパイル時間 169 ms
コンパイル使用メモリ 82,088 KB
実行使用メモリ 53,168 KB
最終ジャッジ日時 2025-03-20 18:41:07
合計ジャッジ時間 1,609 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 14
権限があれば一括ダウンロードができます

ソースコード

diff #

A = input().strip()
S = input().strip()

result = []
for c in S:
    if c.isdigit():
        result.append(A[int(c)])
    else:
        result.append(c)

print(''.join(result))
0