結果
| 問題 |
No.2034 Anti Lexicography
|
| コンテスト | |
| ユーザー |
Prala
|
| 提出日時 | 2024-08-12 13:14:09 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 79 ms / 2,000 ms |
| コード長 | 174 bytes |
| コンパイル時間 | 302 ms |
| コンパイル使用メモリ | 82,304 KB |
| 実行使用メモリ | 88,060 KB |
| 最終ジャッジ日時 | 2024-08-12 13:14:13 |
| 合計ジャッジ時間 | 3,016 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 15 |
ソースコード
from string import ascii_lowercase
abc = ascii_lowercase
N = int(input())
S = input()
ans = []
for i in range(N):
ans.append(abc[25-abc.index(S[i])])
print(''.join(ans))
Prala