結果

問題 No.18 うーさー暗号
ユーザー nehan_der_thalnehan_der_thal
提出日時 2020-03-09 16:46:50
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 37 ms / 5,000 ms
コード長 97 bytes
コンパイル時間 156 ms
コンパイル使用メモリ 82,496 KB
実行使用メモリ 54,124 KB
最終ジャッジ日時 2024-04-25 18:16:58
合計ジャッジ時間 1,308 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 36 ms
52,356 KB
testcase_01 AC 33 ms
52,240 KB
testcase_02 AC 35 ms
53,632 KB
testcase_03 AC 34 ms
53,196 KB
testcase_04 AC 32 ms
52,820 KB
testcase_05 AC 33 ms
52,736 KB
testcase_06 AC 33 ms
53,680 KB
testcase_07 AC 35 ms
53,724 KB
testcase_08 AC 33 ms
54,124 KB
testcase_09 AC 35 ms
53,196 KB
testcase_10 AC 32 ms
52,492 KB
testcase_11 AC 34 ms
52,556 KB
testcase_12 AC 37 ms
53,384 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

S=input().strip()
N=len(S)
s=""
for i in range(N):
    s+=chr((ord(S[i])-65-i-1)%26+65)
print(s)
0