結果

問題 No.18 うーさー暗号
ユーザー ohanaohana
提出日時 2023-09-26 17:35:24
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 87 ms / 5,000 ms
コード長 121 bytes
コンパイル時間 1,329 ms
コンパイル使用メモリ 85,868 KB
実行使用メモリ 71,144 KB
最終ジャッジ日時 2023-09-26 17:35:27
合計ジャッジ時間 2,621 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 76 ms
71,144 KB
testcase_01 AC 73 ms
70,996 KB
testcase_02 AC 75 ms
71,144 KB
testcase_03 AC 75 ms
70,904 KB
testcase_04 AC 73 ms
71,008 KB
testcase_05 AC 75 ms
70,824 KB
testcase_06 AC 75 ms
70,924 KB
testcase_07 AC 74 ms
71,068 KB
testcase_08 AC 87 ms
70,652 KB
testcase_09 AC 76 ms
70,656 KB
testcase_10 AC 75 ms
70,908 KB
testcase_11 AC 73 ms
70,784 KB
testcase_12 AC 73 ms
71,124 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

S = input()
ans = ""
for i in range(len(S)):
    ans += chr((ord(S[i]) - ord("A") - i - 1) % 26 + ord("A"))

print(ans)
0