結果

問題 No.2034 Anti Lexicography
ユーザー tamatotamato
提出日時 2022-08-12 21:21:23
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 68 ms / 2,000 ms
コード長 268 bytes
コンパイル時間 336 ms
コンパイル使用メモリ 81,632 KB
実行使用メモリ 86,140 KB
最終ジャッジ日時 2023-10-24 07:41:36
合計ジャッジ時間 2,198 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 39 ms
53,400 KB
testcase_01 AC 39 ms
53,400 KB
testcase_02 AC 39 ms
53,400 KB
testcase_03 AC 38 ms
53,400 KB
testcase_04 AC 38 ms
53,400 KB
testcase_05 AC 68 ms
86,032 KB
testcase_06 AC 63 ms
86,056 KB
testcase_07 AC 63 ms
86,028 KB
testcase_08 AC 66 ms
86,120 KB
testcase_09 AC 62 ms
86,044 KB
testcase_10 AC 63 ms
86,136 KB
testcase_11 AC 64 ms
86,140 KB
testcase_12 AC 65 ms
86,140 KB
testcase_13 AC 44 ms
59,384 KB
testcase_14 AC 43 ms
59,384 KB
testcase_15 AC 42 ms
59,384 KB
testcase_16 AC 42 ms
59,384 KB
testcase_17 AC 42 ms
59,384 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

mod = 998244353


def main():
    import sys
    input = sys.stdin.readline

    N = int(input())
    S = input().rstrip('\n')

    T = []
    for s in S:
        T.append(chr(97 + 25 - (ord(s) - 97)))
    print("".join(T))
    

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