結果
| 問題 | No.1335 1337 |
| コンテスト | |
| ユーザー |
vwxyz
|
| 提出日時 | 2022-08-08 21:27:32 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 99 ms / 2,000 ms |
| コード長 | 227 bytes |
| 記録 | |
| コンパイル時間 | 829 ms |
| コンパイル使用メモリ | 20,700 KB |
| 実行使用メモリ | 15,360 KB |
| 最終ジャッジ日時 | 2026-04-07 12:50:13 |
| 合計ジャッジ時間 | 3,354 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 14 |
ソースコード
import sys
readline=sys.stdin.readline
dct={}
for i,a in enumerate(readline().rstrip()):
dct[str(i)]=a
ans_lst=[]
for s in readline().rstrip():
if s in dct:
s=dct[s]
ans_lst.append(s)
print(*ans_lst,sep="")
vwxyz