結果
| 問題 | No.18 うーさー暗号 |
| コンテスト | |
| ユーザー |
kanoekakihito
|
| 提出日時 | 2015-09-03 18:56:36 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 25 ms / 5,000 ms |
| コード長 | 204 bytes |
| コンパイル時間 | 206 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,624 KB |
| 最終ジャッジ日時 | 2024-07-07 05:47:42 |
| 合計ジャッジ時間 | 1,019 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 13 |
ソースコード
from collections import deque
text = deque([i for i in input()])
result = deque()
for i in range(1, len(text) + 1):
result.append(chr((ord(text.popleft()) - 65 - i) % 26 + 65))
print("".join(result))
kanoekakihito