結果

問題 No.18 うーさー暗号
ユーザー aceroid
提出日時 2017-03-07 20:30:37
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 255 bytes
コンパイル時間 115 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-06-23 17:57:31
合計ジャッジ時間 1,126 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 2 WA * 3 RE * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

def conversion(a, b):
    c = ord(a)
    d = c - b
    if d <= 64:
        return chr(d + 26)
    else:
        return chr(d)
inp = input()
out = ""
for i in range(len(inp)):
    x = i + 1
    returns = conversion(inp[i], x)
    out += returns
print(out)
0