結果

問題 No.1335 1337
ユーザー wesoweeen
提出日時 2021-06-04 23:12:52
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 29 ms / 2,000 ms
コード長 263 bytes
コンパイル時間 145 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-11-20 06:46:44
合計ジャッジ時間 1,332 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 14
権限があれば一括ダウンロードができます

ソースコード

diff #

def main():
    A = input()
    S = input()
    #print(A)
    #print(S)
    word = ''
    for s in S:
            if s.isdigit():
                word += A[int(s)]
            else:
                word += s
    print(word)

if __name__ == '__main__':
    main()
0