結果

問題 No.2034 Anti Lexicography
ユーザー lloyzlloyz
提出日時 2022-08-12 21:33:51
言語 PyPy3
(7.3.15)
結果
TLE  
実行時間 -
コード長 321 bytes
コンパイル時間 402 ms
コンパイル使用メモリ 81,584 KB
実行使用メモリ 266,064 KB
最終ジャッジ日時 2023-10-24 08:33:29
合計ジャッジ時間 4,305 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 39 ms
53,520 KB
testcase_01 AC 38 ms
53,456 KB
testcase_02 AC 39 ms
53,456 KB
testcase_03 AC 39 ms
53,456 KB
testcase_04 AC 38 ms
53,456 KB
testcase_05 TLE -
testcase_06 -- -
testcase_07 -- -
testcase_08 -- -
testcase_09 -- -
testcase_10 -- -
testcase_11 -- -
testcase_12 -- -
testcase_13 -- -
testcase_14 -- -
testcase_15 -- -
testcase_16 -- -
testcase_17 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

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