結果
| 問題 | No.2034 Anti Lexicography |
| コンテスト | |
| ユーザー |
detteiuu
|
| 提出日時 | 2026-07-20 12:01:13 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 88 ms / 2,000 ms |
| + 39µs | |
| コード長 | 187 bytes |
| 記録 | |
| コンパイル時間 | 263 ms |
| コンパイル使用メモリ | 96,228 KB |
| 実行使用メモリ | 97,792 KB |
| 最終ジャッジ日時 | 2026-07-20 12:01:19 |
| 合計ジャッジ時間 | 3,380 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 15 |
ソースコード
N = int(input())
S = input()
def code(s):
return ord(s)-ord("a")
def codeR(n):
return chr(ord("a")+n)
ans = []
for s in S:
ans.append(codeR(25-code(s)))
print("".join(ans))
detteiuu