結果

問題 No.18 うーさー暗号
ユーザー ytftytft
提出日時 2022-11-03 06:53:00
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 78 ms / 5,000 ms
コード長 153 bytes
コンパイル時間 1,504 ms
コンパイル使用メモリ 87,104 KB
実行使用メモリ 71,576 KB
最終ジャッジ日時 2023-09-24 16:49:43
合計ジャッジ時間 3,096 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
71,188 KB
testcase_01 AC 73 ms
71,060 KB
testcase_02 AC 74 ms
71,280 KB
testcase_03 AC 74 ms
71,396 KB
testcase_04 AC 72 ms
71,304 KB
testcase_05 AC 72 ms
71,348 KB
testcase_06 AC 73 ms
71,384 KB
testcase_07 AC 73 ms
71,480 KB
testcase_08 AC 73 ms
71,576 KB
testcase_09 AC 74 ms
71,340 KB
testcase_10 AC 73 ms
71,304 KB
testcase_11 AC 74 ms
71,368 KB
testcase_12 AC 78 ms
71,480 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input=lambda:sys.stdin.readline().rstrip()
ans=''
S=input()
for i in range(len(S)):
	ans+=chr((ord(S[i])-ord('A')-i-1)%26+ord('A'))
print(ans)
0