結果

問題 No.2034 Anti Lexicography
ユーザー GrayCoderGrayCoder
提出日時 2022-08-12 21:42:35
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 58 ms / 2,000 ms
コード長 276 bytes
コンパイル時間 953 ms
コンパイル使用メモリ 11,696 KB
実行使用メモリ 10,564 KB
最終ジャッジ日時 2023-10-24 09:04:44
合計ジャッジ時間 1,735 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 31 ms
9,940 KB
testcase_01 AC 30 ms
9,940 KB
testcase_02 AC 30 ms
9,940 KB
testcase_03 AC 30 ms
9,940 KB
testcase_04 AC 31 ms
9,940 KB
testcase_05 AC 57 ms
10,296 KB
testcase_06 AC 57 ms
10,308 KB
testcase_07 AC 57 ms
10,292 KB
testcase_08 AC 58 ms
10,308 KB
testcase_09 AC 58 ms
10,564 KB
testcase_10 AC 57 ms
10,496 KB
testcase_11 AC 58 ms
10,496 KB
testcase_12 AC 58 ms
10,496 KB
testcase_13 AC 30 ms
9,944 KB
testcase_14 AC 30 ms
9,944 KB
testcase_15 AC 31 ms
9,944 KB
testcase_16 AC 31 ms
9,960 KB
testcase_17 AC 31 ms
9,960 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys


def main():
    input = lambda: sys.stdin.readline()[:-1]
    N = int(input())
    S = input()

    ans = ""
    for s in S:
        n = 219 - ord(s)
        ans += chr(n)
    print(ans)


if not __debug__:
    f = open(sys.argv[1], "r")
    sys.stdin = f

main()
0