結果

問題 No.18 うーさー暗号
ユーザー Kgm1500Kgm1500
提出日時 2017-07-12 22:11:48
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 69 ms / 5,000 ms
コード長 161 bytes
コンパイル時間 828 ms
コンパイル使用メモリ 86,824 KB
実行使用メモリ 71,392 KB
最終ジャッジ日時 2023-09-21 12:46:42
合計ジャッジ時間 1,935 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 68 ms
71,392 KB
testcase_01 AC 67 ms
71,200 KB
testcase_02 AC 66 ms
70,916 KB
testcase_03 AC 69 ms
71,136 KB
testcase_04 AC 67 ms
70,908 KB
testcase_05 AC 67 ms
71,128 KB
testcase_06 AC 67 ms
71,104 KB
testcase_07 AC 69 ms
71,088 KB
testcase_08 AC 67 ms
71,376 KB
testcase_09 AC 68 ms
71,132 KB
testcase_10 AC 66 ms
71,128 KB
testcase_11 AC 67 ms
71,172 KB
testcase_12 AC 66 ms
70,924 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

strs = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
S = list(input())
Out = []
for i in range(len(S)):
    Out.append(strs[(strs.index(S[i]) - i - 1) % 26])
print("".join(Out))
0