結果

問題 No.2034 Anti Lexicography
ユーザー kept1994kept1994
提出日時 2022-11-18 02:01:08
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 132 ms / 2,000 ms
コード長 301 bytes
コンパイル時間 150 ms
コンパイル使用メモリ 81,620 KB
実行使用メモリ 103,240 KB
最終ジャッジ日時 2023-10-19 15:56:47
合計ジャッジ時間 2,744 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 59 ms
63,596 KB
testcase_01 AC 59 ms
63,596 KB
testcase_02 AC 59 ms
63,596 KB
testcase_03 AC 59 ms
63,596 KB
testcase_04 AC 58 ms
63,596 KB
testcase_05 AC 130 ms
102,440 KB
testcase_06 AC 132 ms
102,972 KB
testcase_07 AC 131 ms
102,448 KB
testcase_08 AC 132 ms
103,236 KB
testcase_09 AC 131 ms
102,708 KB
testcase_10 AC 132 ms
103,236 KB
testcase_11 AC 132 ms
103,236 KB
testcase_12 AC 132 ms
103,240 KB
testcase_13 AC 68 ms
68,684 KB
testcase_14 AC 68 ms
68,684 KB
testcase_15 AC 67 ms
68,684 KB
testcase_16 AC 68 ms
70,736 KB
testcase_17 AC 68 ms
70,736 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#!/usr/bin/env python3
import string

def main():
    l = string.ascii_lowercase
    invl = (string.ascii_lowercase)[::-1]
    N = int(input())
    S = input()
    ans = []
    for ss in S:
        ans.append(invl[l.index(ss)])
    print(*ans, sep="")
    return

if __name__ == '__main__':
    main()
0