結果
| 問題 | No.18 うーさー暗号 |
| コンテスト | |
| ユーザー |
kanoekakihito
|
| 提出日時 | 2015-09-03 18:56:36 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 93 ms / 5,000 ms |
| コード長 | 204 bytes |
| 記録 | |
| コンパイル時間 | 354 ms |
| コンパイル使用メモリ | 20,696 KB |
| 実行使用メモリ | 15,488 KB |
| 最終ジャッジ日時 | 2026-03-28 20:50:51 |
| 合計ジャッジ時間 | 2,302 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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