結果
| 問題 |
No.3000 Optimal Run Length Encoding
|
| コンテスト | |
| ユーザー |
lam6er
|
| 提出日時 | 2025-04-16 16:09:10 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 378 bytes |
| コンパイル時間 | 461 ms |
| コンパイル使用メモリ | 81,812 KB |
| 実行使用メモリ | 66,608 KB |
| 最終ジャッジ日時 | 2025-04-16 16:16:18 |
| 合計ジャッジ時間 | 19,529 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 1 |
| other | RE * 142 |
ソースコード
s = input().strip()
cipher_map = {
'a': 'c', 'b': 'q', 'c': 'l', 'd': 'm', 'e': 'd',
'f': 'r', 'g': 's', 'h': 't', 'i': 'f', 'j': 'x',
'k': 'y', 'l': 'z', 'm': 'b', 'n': 'a', 'o': 'n',
'p': 'o', 'q': 'p', 'r': 'u', 's': 'v', 't': 'w',
'u': 'e', 'v': 'g', 'w': 'h', 'x': 'i', 'y': 'j',
'z': 'k'
}
result = ''.join([cipher_map[c] for c in s])
print(result)
lam6er