結果
| 問題 | No.2034 Anti Lexicography |
| コンテスト | |
| ユーザー |
nohakai3
|
| 提出日時 | 2022-08-14 15:34:36 |
| 言語 | Python3 (3.14.7 + numpy 2.5.2 + scipy 1.18.0 + ACL) |
| 結果 |
WA
不安定
|
| 実行時間 | - |
| コード長 | 192 bytes |
| 記録 | |
| コンパイル時間 | 53 ms |
| コンパイル使用メモリ | 14,976 KB |
| 実行使用メモリ | 13,468 KB |
| 最終ジャッジ日時 | 2026-09-07 07:00:13 |
| 合計ジャッジ時間 | 6,756 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 WA * 2 |
| other | AC * 2 WA * 13 |
ソースコード
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])
ap=""
for x in ans:
ap+=x
print(ap)
nohakai3