結果

問題 No.2034 Anti Lexicography
ユーザー だれだれ
提出日時 2022-08-12 21:54:03
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 1,097 ms / 2,000 ms
コード長 108 bytes
コンパイル時間 178 ms
コンパイル使用メモリ 11,724 KB
実行使用メモリ 10,824 KB
最終ジャッジ日時 2023-10-24 09:46:36
合計ジャッジ時間 9,380 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 29 ms
10,064 KB
testcase_01 AC 28 ms
10,064 KB
testcase_02 AC 28 ms
10,064 KB
testcase_03 AC 28 ms
10,064 KB
testcase_04 AC 28 ms
10,064 KB
testcase_05 AC 1,054 ms
10,616 KB
testcase_06 AC 887 ms
10,616 KB
testcase_07 AC 1,033 ms
10,616 KB
testcase_08 AC 914 ms
10,820 KB
testcase_09 AC 1,097 ms
10,624 KB
testcase_10 AC 906 ms
10,824 KB
testcase_11 AC 905 ms
10,824 KB
testcase_12 AC 905 ms
10,824 KB
testcase_13 AC 29 ms
10,080 KB
testcase_14 AC 29 ms
10,080 KB
testcase_15 AC 29 ms
10,084 KB
testcase_16 AC 31 ms
10,096 KB
testcase_17 AC 31 ms
10,100 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
s = input()
ans = ""
for i in range(n):
    ans += chr(97 + 123 - ord(s[i]) - 1)
print(ans)
0