結果
問題 |
No.2034 Anti Lexicography
|
ユーザー |
![]() |
提出日時 | 2022-08-14 15:35:56 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 101 ms / 2,000 ms |
コード長 | 187 bytes |
コンパイル時間 | 92 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 14,432 KB |
最終ジャッジ日時 | 2024-10-01 07:58:18 |
合計ジャッジ時間 | 1,935 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 15 |
ソースコード
import string n=int(input()) s=input() s=s[::-1] ans=[] al=list(string.ascii_lowercase) for x in s: idx=ord("z")-ord(x) ans.append(al[idx]) ans=ans[::-1] print("".join(ans))