結果
問題 |
No.1335 1337
|
ユーザー |
|
提出日時 | 2024-04-05 10:39:28 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 692 bytes |
コンパイル時間 | 680 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 10,624 KB |
最終ジャッジ日時 | 2024-10-01 00:59:46 |
合計ジャッジ時間 | 1,558 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 4 |
other | RE * 14 |
ソースコード
def main(): A, S = input().split() T = [] for x in S: if x == "0": T.append(A[0]) elif x == "1": T.append(A[1]) elif x == "2": T.append(A[2]) elif x == "3": T.append(A[3]) elif x == "4": T.append(A[4]) elif x == "5": T.append(A[5]) elif x == "6": T.append(A[6]) elif x == "7": T.append(A[7]) elif x == "8": T.appemd(A[8]) elif x == "9": T.append(A[9]) else: T.append(x) T = "".join(T) print(T) if __name__ == "__main__": main()