結果

問題 No.18 うーさー暗号
ユーザー Beginer_
提出日時 2025-05-08 23:22:00
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 28 ms / 5,000 ms
コード長 166 bytes
コンパイル時間 391 ms
コンパイル使用メモリ 12,160 KB
実行使用メモリ 10,240 KB
最終ジャッジ日時 2025-05-08 23:22:01
合計ジャッジ時間 1,609 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 13
権限があれば一括ダウンロードができます

ソースコード

diff #

S= input()

def decord(S):
	ans= ""
	count= 1
	for letter in S:
		ans += chr(ord("A") + (ord(letter) - ord('A')- count) %26)
		count +=1
	return print(ans)

decord(S)
0