結果

問題 No.1335 1337
ユーザー U SU S
提出日時 2021-01-15 21:22:29
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 115 ms / 2,000 ms
コード長 471 bytes
コンパイル時間 1,582 ms
コンパイル使用メモリ 87,116 KB
実行使用メモリ 73,568 KB
最終ジャッジ日時 2023-08-17 15:50:22
合計ジャッジ時間 3,322 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 109 ms
73,508 KB
testcase_01 AC 115 ms
73,132 KB
testcase_02 AC 114 ms
73,492 KB
testcase_03 AC 113 ms
73,284 KB
testcase_04 AC 115 ms
73,356 KB
testcase_05 AC 109 ms
73,208 KB
testcase_06 AC 108 ms
73,272 KB
testcase_07 AC 113 ms
73,480 KB
testcase_08 AC 107 ms
73,568 KB
testcase_09 AC 106 ms
73,096 KB
testcase_10 AC 103 ms
73,212 KB
testcase_11 AC 104 ms
73,216 KB
testcase_12 AC 107 ms
73,492 KB
testcase_13 AC 107 ms
73,384 KB
testcase_14 AC 105 ms
73,544 KB
testcase_15 AC 109 ms
73,204 KB
testcase_16 AC 107 ms
73,352 KB
testcase_17 AC 107 ms
73,340 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

# import sys
# input = sys.stdin.readline
def mp():return map(int,input().split())
def lmp():return list(map(int,input().split()))
import math
import bisect
from copy import deepcopy as dc
from itertools import accumulate
from collections import Counter, defaultdict, deque
def ceil(U,V):return (U+V-1)//V
def modf1(N,MOD):return (N-1)%MOD+1


a = input()
ans = ""
s = input()
for i in s:
    if i.islower():
        ans += i
    else:
        ans += a[int(i)]
print(ans)
0