結果
| 問題 | No.18 うーさー暗号 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-12-01 18:15:02 |
| 言語 | Python3 (3.15.2 + numpy 2.5.4 + scipy 1.18.1 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 17 ms / 5,000 ms |
| + 277µs | |
| コード長 | 261 bytes |
| 記録 | |
| コンパイル時間 | 87 ms |
| コンパイル使用メモリ | 14,848 KB |
| 実行使用メモリ | 10,240 KB |
| 最終ジャッジ日時 | 2026-12-01 18:15:05 |
| 合計ジャッジ時間 | 2,419 ms |
|
ジャッジサーバーID (参考情報) |
judge4_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 13 |
ソースコード
S = input()
A = ""
al = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
index=1
for i in S:
if index > 27:
index -= 26
current = al.find(i)-index
if current < 0:
current = 26+current
A += (al[current])
index += 1
print(A)