結果

問題 No.18 うーさー暗号
ユーザー kohei2019kohei2019
提出日時 2021-02-10 00:05:40
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 75 ms / 5,000 ms
コード長 165 bytes
コンパイル時間 251 ms
コンパイル使用メモリ 87,080 KB
実行使用メモリ 75,540 KB
最終ジャッジ日時 2023-09-21 11:34:21
合計ジャッジ時間 1,929 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 69 ms
71,368 KB
testcase_01 AC 68 ms
71,456 KB
testcase_02 AC 68 ms
71,364 KB
testcase_03 AC 73 ms
75,540 KB
testcase_04 AC 69 ms
71,304 KB
testcase_05 AC 71 ms
71,464 KB
testcase_06 AC 71 ms
71,464 KB
testcase_07 AC 74 ms
75,348 KB
testcase_08 AC 75 ms
75,500 KB
testcase_09 AC 72 ms
71,160 KB
testcase_10 AC 69 ms
71,408 KB
testcase_11 AC 70 ms
71,448 KB
testcase_12 AC 72 ms
71,360 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

S = list(input())
lsAl = list('ABCDEFGHIJKLMNOPQRSTUVWXYZ')
lsans = []
for i in range(len(S)):
    lsans.append(lsAl[(lsAl.index(S[i])-i-1)%26])
print(*lsans,sep='')
0