結果
| 問題 | No.18 うーさー暗号 |
| コンテスト | |
| ユーザー |
takopom55
|
| 提出日時 | 2016-12-16 09:22:57 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 90 ms / 5,000 ms |
| + 697µs | |
| コード長 | 261 bytes |
| 記録 | |
| コンパイル時間 | 289 ms |
| コンパイル使用メモリ | 21,536 KB |
| 実行使用メモリ | 15,868 KB |
| 最終ジャッジ日時 | 2026-08-10 21:27:14 |
| 合計ジャッジ時間 | 3,175 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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()
takopom55