結果
| 問題 |
No.2034 Anti Lexicography
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-11-18 02:01:08 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 118 ms / 2,000 ms |
| コード長 | 301 bytes |
| コンパイル時間 | 141 ms |
| コンパイル使用メモリ | 82,360 KB |
| 実行使用メモリ | 104,088 KB |
| 最終ジャッジ日時 | 2024-09-19 12:05:36 |
| 合計ジャッジ時間 | 2,328 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 15 |
ソースコード
#!/usr/bin/env python3
import string
def main():
l = string.ascii_lowercase
invl = (string.ascii_lowercase)[::-1]
N = int(input())
S = input()
ans = []
for ss in S:
ans.append(invl[l.index(ss)])
print(*ans, sep="")
return
if __name__ == '__main__':
main()