結果
| 問題 |
No.1335 1337
|
| コンテスト | |
| ユーザー |
lam6er
|
| 提出日時 | 2025-03-20 20:27:05 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 40 ms / 2,000 ms |
| コード長 | 176 bytes |
| コンパイル時間 | 177 ms |
| コンパイル使用メモリ | 81,960 KB |
| 実行使用メモリ | 53,324 KB |
| 最終ジャッジ日時 | 2025-03-20 20:28:44 |
| 合計ジャッジ時間 | 1,703 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 14 |
ソースコード
A = input().strip()
S = input().strip()
result = []
for c in S:
if c.isdigit():
result.append(A[int(c)])
else:
result.append(c)
print(''.join(result))
lam6er