結果

問題 No.18 うーさー暗号
ユーザー qibqib
提出日時 2022-11-06 19:36:01
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 71 ms / 5,000 ms
コード長 146 bytes
コンパイル時間 279 ms
コンパイル使用メモリ 87,180 KB
実行使用メモリ 71,504 KB
最終ジャッジ日時 2023-09-27 13:21:59
合計ジャッジ時間 1,947 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 65 ms
71,228 KB
testcase_01 AC 65 ms
71,188 KB
testcase_02 AC 66 ms
71,188 KB
testcase_03 AC 66 ms
71,484 KB
testcase_04 AC 66 ms
71,312 KB
testcase_05 AC 71 ms
71,272 KB
testcase_06 AC 65 ms
71,344 KB
testcase_07 AC 66 ms
71,268 KB
testcase_08 AC 66 ms
71,044 KB
testcase_09 AC 64 ms
71,020 KB
testcase_10 AC 65 ms
71,216 KB
testcase_11 AC 67 ms
71,504 KB
testcase_12 AC 65 ms
71,220 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

s = list(input())

ans = []
for i in range(len(s)):
  c = chr((ord(s[i]) - ord("A") - i - 1) % 26 + ord("A"))
  ans.append(c)

print("".join(ans))
0