結果

問題 No.1335 1337
ユーザー persimmon-persimmon
提出日時 2021-02-16 21:28:11
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 39 ms / 2,000 ms
コード長 149 bytes
コンパイル時間 417 ms
コンパイル使用メモリ 82,368 KB
実行使用メモリ 53,428 KB
最終ジャッジ日時 2024-09-13 10:52:40
合計ジャッジ時間 2,062 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 14
権限があれば一括ダウンロードができます

ソースコード

diff #

a=list(input())
s=input()
ans=[]
for x in s:
  if ord('a')<=ord(x)<=ord('z'):
    ans.append(x)
  else:
    ans.append(a[int(x)])
print(''.join(ans))
0