結果

問題 No.18 うーさー暗号
ユーザー nehan_der_thalnehan_der_thal
提出日時 2020-03-09 16:46:50
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 72 ms / 5,000 ms
コード長 97 bytes
コンパイル時間 280 ms
コンパイル使用メモリ 86,724 KB
実行使用メモリ 71,400 KB
最終ジャッジ日時 2023-08-08 00:11:45
合計ジャッジ時間 2,039 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 69 ms
71,020 KB
testcase_01 AC 71 ms
71,100 KB
testcase_02 AC 70 ms
71,108 KB
testcase_03 AC 71 ms
70,956 KB
testcase_04 AC 72 ms
70,956 KB
testcase_05 AC 67 ms
71,024 KB
testcase_06 AC 69 ms
71,048 KB
testcase_07 AC 68 ms
71,164 KB
testcase_08 AC 72 ms
71,400 KB
testcase_09 AC 71 ms
71,396 KB
testcase_10 AC 70 ms
71,152 KB
testcase_11 AC 72 ms
71,368 KB
testcase_12 AC 70 ms
71,204 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