結果

問題 No.1335 1337
ユーザー HAGI_TAROHAGI_TARO
提出日時 2021-08-21 15:45:20
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 40 ms / 2,000 ms
コード長 156 bytes
コンパイル時間 245 ms
コンパイル使用メモリ 81,884 KB
実行使用メモリ 53,968 KB
最終ジャッジ日時 2024-04-23 06:47:54
合計ジャッジ時間 1,945 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 40 ms
53,072 KB
testcase_01 AC 38 ms
52,008 KB
testcase_02 AC 37 ms
52,744 KB
testcase_03 AC 39 ms
52,484 KB
testcase_04 AC 38 ms
53,248 KB
testcase_05 AC 38 ms
52,440 KB
testcase_06 AC 38 ms
52,312 KB
testcase_07 AC 38 ms
52,736 KB
testcase_08 AC 40 ms
52,348 KB
testcase_09 AC 39 ms
52,444 KB
testcase_10 AC 38 ms
52,132 KB
testcase_11 AC 38 ms
52,308 KB
testcase_12 AC 39 ms
53,148 KB
testcase_13 AC 38 ms
53,968 KB
testcase_14 AC 38 ms
52,724 KB
testcase_15 AC 38 ms
52,240 KB
testcase_16 AC 38 ms
51,936 KB
testcase_17 AC 39 ms
52,192 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

A = input()
s = input()
S = [s[i] for i in range(len(s))]
for i in range(len(s)):
    if S[i] in "0123456789":
        S[i] = A[int(S[i])]
print("".join(S))
0