結果
| 問題 |
No.1335 1337
|
| コンテスト | |
| ユーザー |
wattaihei
|
| 提出日時 | 2021-01-15 21:52:08 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 29 ms / 2,000 ms |
| コード長 | 232 bytes |
| コンパイル時間 | 84 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 10,752 KB |
| 最終ジャッジ日時 | 2024-11-26 14:15:39 |
| 合計ジャッジ時間 | 1,231 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 14 |
ソースコード
import sys
input = sys.stdin.readline
S = list(input().rstrip())
T = list(input().rstrip())
nums = [str(i) for i in range(10)]
ans = ""
for t in T:
if t in nums:
ans += S[int(t)]
else:
ans += t
print(ans)
wattaihei