結果

問題 No.1335 1337
ユーザー titia
提出日時 2021-01-15 21:23:49
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 167 bytes
コンパイル時間 148 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 10,624 KB
最終ジャッジ日時 2024-11-26 13:07:10
合計ジャッジ時間 1,157 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 4
other WA * 14
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input = sys.stdin.readline

A=input()
S=input()

ANS=""
for s in S:
    if 48<=ord(s)<=57:
        ANS+=A[int(s)]
    else:
        ANS+=s

print(ANS)
    
0