結果
| 問題 |
No.2034 Anti Lexicography
|
| コンテスト | |
| ユーザー |
nohakai3
|
| 提出日時 | 2022-08-14 15:34:36 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 192 bytes |
| コンパイル時間 | 225 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 13,256 KB |
| 最終ジャッジ日時 | 2024-10-01 07:57:30 |
| 合計ジャッジ時間 | 8,320 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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