結果

問題 No.1455 拡張ROTN
ユーザー Meso Meso
提出日時 2025-03-21 15:27:59
言語 PyPy3
(7.3.15)
結果
TLE  
実行時間 -
コード長 355 bytes
コンパイル時間 379 ms
コンパイル使用メモリ 82,232 KB
実行使用メモリ 87,164 KB
最終ジャッジ日時 2025-03-21 15:28:04
合計ジャッジ時間 4,289 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other TLE * 1 -- * 21
権限があれば一括ダウンロードができます

ソースコード

diff #

def convert(S):
    c = "CpCzNkSuTbEoA"
    t = ""
    for s in S:
        if s == "z":
            t += "a"
        elif s == "Z":
            t += "A"
        elif s == "9":
            t += c
        else:
            t += chr(ord(s)+1)
            
    return t
    

S = list(input())
n = int(input())

for i in range(n):
    S = convert(S)

print(S)
0