結果
| 問題 |
No.1335 1337
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-01-15 21:22:29 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 53 ms / 2,000 ms |
| コード長 | 471 bytes |
| コンパイル時間 | 406 ms |
| コンパイル使用メモリ | 81,920 KB |
| 実行使用メモリ | 60,288 KB |
| 最終ジャッジ日時 | 2024-11-26 13:05:11 |
| 合計ジャッジ時間 | 1,970 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 14 |
ソースコード
# import sys
# input = sys.stdin.readline
def mp():return map(int,input().split())
def lmp():return list(map(int,input().split()))
import math
import bisect
from copy import deepcopy as dc
from itertools import accumulate
from collections import Counter, defaultdict, deque
def ceil(U,V):return (U+V-1)//V
def modf1(N,MOD):return (N-1)%MOD+1
a = input()
ans = ""
s = input()
for i in s:
if i.islower():
ans += i
else:
ans += a[int(i)]
print(ans)