結果
| 問題 | No.18 うーさー暗号 |
| コンテスト | |
| ユーザー |
doraeeemonn
|
| 提出日時 | 2017-11-09 00:01:39 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 96 ms / 5,000 ms |
| コード長 | 248 bytes |
| 記録 | |
| コンパイル時間 | 359 ms |
| コンパイル使用メモリ | 20,696 KB |
| 実行使用メモリ | 15,364 KB |
| 最終ジャッジ日時 | 2026-03-28 21:48:06 |
| 合計ジャッジ時間 | 2,231 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 13 |
ソースコード
input_string = list(input()) output_string = "" count = 1 for i in range(len(input_string)): code = ord(input_string[i]) - count if code < 65: code += 26 output_string += chr(code) count += 1 if count == 26: count = 0 print(output_string)
doraeeemonn