結果

問題 No.2034 Anti Lexicography
コンテスト
ユーザー lloyz
提出日時 2022-08-12 21:33:51
言語 PyPy3
(7.3.17)
コンパイル:
pypy3 -mpy_compile _filename_
実行:
pypy3 _filename_
結果
AC  
実行時間 1,501 ms / 2,000 ms
コード長 321 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 125 ms
コンパイル使用メモリ 85,384 KB
実行使用メモリ 303,152 KB
最終ジャッジ日時 2026-04-11 07:06:45
合計ジャッジ時間 12,838 ms
ジャッジサーバーID
(参考情報)
judge1_0 / judge2_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 15
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

alphs = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z']
convert = dict()
i = 0
for alph in alphs:
    convert[alph] = alphs[25 - i]
    i += 1

n = int(input())
s = input()

ans = ''
for i in range(n):
    ans += convert[s[i]]
print(ans)
0