結果

問題 No.18 うーさー暗号
ユーザー miho-4miho-4
提出日時 2023-06-09 18:58:09
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 77 ms / 5,000 ms
コード長 105 bytes
コンパイル時間 1,513 ms
コンパイル使用メモリ 87,336 KB
実行使用メモリ 71,584 KB
最終ジャッジ日時 2023-08-30 11:22:32
合計ジャッジ時間 2,647 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 74 ms
71,396 KB
testcase_01 AC 75 ms
71,548 KB
testcase_02 AC 75 ms
71,584 KB
testcase_03 AC 75 ms
71,496 KB
testcase_04 AC 74 ms
71,484 KB
testcase_05 AC 75 ms
71,476 KB
testcase_06 AC 75 ms
71,484 KB
testcase_07 AC 74 ms
71,396 KB
testcase_08 AC 77 ms
71,540 KB
testcase_09 AC 77 ms
71,164 KB
testcase_10 AC 73 ms
71,544 KB
testcase_11 AC 75 ms
71,336 KB
testcase_12 AC 75 ms
71,488 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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