結果

問題 No.2034 Anti Lexicography
ユーザー Noah CollinsNoah Collins
提出日時 2022-12-06 13:38:58
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 150 ms / 2,000 ms
コード長 214 bytes
コンパイル時間 258 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 14,496 KB
最終ジャッジ日時 2024-04-21 06:14:19
合計ジャッジ時間 2,719 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 28 ms
11,008 KB
testcase_01 AC 29 ms
11,008 KB
testcase_02 AC 29 ms
11,008 KB
testcase_03 AC 28 ms
11,008 KB
testcase_04 AC 31 ms
11,008 KB
testcase_05 AC 138 ms
14,304 KB
testcase_06 AC 149 ms
14,480 KB
testcase_07 AC 142 ms
14,172 KB
testcase_08 AC 146 ms
14,496 KB
testcase_09 AC 144 ms
14,352 KB
testcase_10 AC 148 ms
14,492 KB
testcase_11 AC 150 ms
14,368 KB
testcase_12 AC 148 ms
14,364 KB
testcase_13 AC 30 ms
11,008 KB
testcase_14 AC 29 ms
11,008 KB
testcase_15 AC 30 ms
11,008 KB
testcase_16 AC 33 ms
11,008 KB
testcase_17 AC 30 ms
11,008 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n=int(input())
l=list(input().strip())
b=[]
for i in range(26):b+=bytes("\\u00"+hex(i+97)[2:],encoding='utf-8',errors='replace').decode('unicode-escape')
k=[]
for i in l:
    k+=[b[25-b.index(i)]]
print(''.join(k))
0