結果
| 問題 | No.18 うーさー暗号 |
| コンテスト | |
| ユーザー |
Schnee
|
| 提出日時 | 2021-05-08 23:55:12 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 29 ms / 5,000 ms |
| コード長 | 225 bytes |
| コンパイル時間 | 307 ms |
| コンパイル使用メモリ | 12,800 KB |
| 実行使用メモリ | 10,624 KB |
| 最終ジャッジ日時 | 2024-09-17 07:29:49 |
| 合計ジャッジ時間 | 1,268 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 13 |
ソースコード
code = input()
def decrypt(x):
global code
num = ord(code[x]) - x + 12
classify = num % 26
return chr(65 + classify)
plaintext = ""
for i in range(len(code)):
plaintext += decrypt(i)
print(plaintext)
Schnee