結果
| 問題 |
No.2034 Anti Lexicography
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-08-12 21:33:51 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 321 bytes |
| コンパイル時間 | 190 ms |
| コンパイル使用メモリ | 82,164 KB |
| 実行使用メモリ | 262,640 KB |
| 最終ジャッジ日時 | 2024-09-23 01:13:32 |
| 合計ジャッジ時間 | 4,033 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 2 TLE * 4 -- * 9 |
ソースコード
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)