結果
| 問題 | No.18 うーさー暗号 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-06-10 14:47:02 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 225 bytes |
| 記録 | |
| コンパイル時間 | 233 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 10,752 KB |
| 最終ジャッジ日時 | 2024-06-23 05:18:08 |
| 合計ジャッジ時間 | 1,147 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 5 RE * 8 |
ソースコード
S = list(input())
l = list(map(ord,S))
nl = []
for i,n in enumerate(l,1):
charn = n - i + 26 if n - i < 65 else n - i
print(chr(charn), charn)
nl.append(charn)
ns = list(map(chr,nl))
ans = ''.join(ns)
print(ans)