結果

問題 No.1335 1337
ユーザー miya145592miya145592
提出日時 2023-04-30 22:28:38
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 79 ms / 2,000 ms
コード長 146 bytes
コンパイル時間 2,114 ms
コンパイル使用メモリ 86,892 KB
実行使用メモリ 71,484 KB
最終ジャッジ日時 2023-08-12 11:25:57
合計ジャッジ時間 2,957 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,244 KB
testcase_01 AC 71 ms
71,316 KB
testcase_02 AC 75 ms
71,164 KB
testcase_03 AC 75 ms
70,992 KB
testcase_04 AC 75 ms
71,180 KB
testcase_05 AC 79 ms
71,072 KB
testcase_06 AC 72 ms
71,096 KB
testcase_07 AC 75 ms
71,264 KB
testcase_08 AC 74 ms
71,184 KB
testcase_09 AC 75 ms
71,436 KB
testcase_10 AC 76 ms
70,984 KB
testcase_11 AC 76 ms
71,072 KB
testcase_12 AC 75 ms
71,348 KB
testcase_13 AC 74 ms
71,432 KB
testcase_14 AC 74 ms
71,064 KB
testcase_15 AC 74 ms
71,144 KB
testcase_16 AC 76 ms
71,232 KB
testcase_17 AC 73 ms
71,484 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

A = input()
S = input()
ans = []
for s in S:
    if "0"<=s<="9":
        ans.append(A[int(s)])
    else:
        ans.append(s)
print("".join(ans))
0