結果

問題 No.18 うーさー暗号
ユーザー otsunekootsuneko
提出日時 2021-05-06 14:29:37
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 82 ms / 5,000 ms
コード長 107 bytes
コンパイル時間 1,094 ms
コンパイル使用メモリ 86,772 KB
実行使用メモリ 71,476 KB
最終ジャッジ日時 2023-10-12 07:05:00
合計ジャッジ時間 2,489 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 77 ms
71,132 KB
testcase_01 AC 78 ms
71,476 KB
testcase_02 AC 76 ms
71,264 KB
testcase_03 AC 78 ms
71,048 KB
testcase_04 AC 76 ms
71,152 KB
testcase_05 AC 80 ms
71,360 KB
testcase_06 AC 79 ms
71,048 KB
testcase_07 AC 80 ms
71,096 KB
testcase_08 AC 82 ms
71,088 KB
testcase_09 AC 77 ms
71,248 KB
testcase_10 AC 78 ms
71,364 KB
testcase_11 AC 80 ms
71,236 KB
testcase_12 AC 75 ms
71,396 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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