結果

問題 No.2034 Anti Lexicography
ユーザー satama6satama6
提出日時 2022-08-12 21:24:02
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 1,032 ms / 2,000 ms
コード長 319 bytes
コンパイル時間 79 ms
コンパイル使用メモリ 11,944 KB
実行使用メモリ 10,980 KB
最終ジャッジ日時 2023-10-24 07:59:49
合計ジャッジ時間 8,280 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 29 ms
10,092 KB
testcase_01 AC 29 ms
10,092 KB
testcase_02 AC 30 ms
10,092 KB
testcase_03 AC 38 ms
10,092 KB
testcase_04 AC 30 ms
10,092 KB
testcase_05 AC 1,032 ms
10,644 KB
testcase_06 AC 852 ms
10,648 KB
testcase_07 AC 999 ms
10,644 KB
testcase_08 AC 869 ms
10,852 KB
testcase_09 AC 747 ms
10,980 KB
testcase_10 AC 878 ms
10,852 KB
testcase_11 AC 882 ms
10,852 KB
testcase_12 AC 879 ms
10,852 KB
testcase_13 AC 30 ms
10,108 KB
testcase_14 AC 30 ms
10,104 KB
testcase_15 AC 30 ms
10,116 KB
testcase_16 AC 32 ms
10,128 KB
testcase_17 AC 31 ms
10,132 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
S = input()

alp = {'a':'z', 'b':'y', 'c':'x', 'd':'w', 'e':'v', 'f':'u', 'g':'t', 'h':'s', 'i':'r', 'j':'q', 'k':'p', 'l':'o', 'm':'n', 'n':'m', 'o':'l', 'p':'k', 'q':'j', 'r':'i', 's':'h', 't':'g', 'u':'f', 'v':'e', 'w':'d', 'x':'c', 'y':'b', 'z':'a'}

T = ''
for s in S:
    T = T + alp[s]

print(T)
0