結果
| 問題 | No.18 うーさー暗号 | 
| コンテスト | |
| ユーザー |  takopom55 | 
| 提出日時 | 2016-12-16 09:22:57 | 
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 27 ms / 5,000 ms | 
| コード長 | 261 bytes | 
| コンパイル時間 | 84 ms | 
| コンパイル使用メモリ | 12,544 KB | 
| 実行使用メモリ | 10,624 KB | 
| 最終ジャッジ日時 | 2024-07-07 06:22:58 | 
| 合計ジャッジ時間 | 934 ms | 
| ジャッジサーバーID (参考情報) | judge5 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 13 | 
ソースコード
# -*- coding: utf-8 -*-
def main():
    indices = [(ord(c) - ord('A') - i - 1) % 26 for i, c in enumerate(list(input()))]
    result = ''
    for index in indices:
        result += chr(index + ord('A'))
    print(result)
if __name__ == '__main__':
    main()
            
            
            
        