結果

問題 No.3132 暗号メッセージ
ユーザー detteiuu
提出日時 2025-05-02 21:23:08
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 37 ms / 2,000 ms
コード長 213 bytes
コンパイル時間 487 ms
コンパイル使用メモリ 82,580 KB
実行使用メモリ 52,224 KB
最終ジャッジ日時 2025-05-02 21:23:10
合計ジャッジ時間 1,909 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 17
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
D = sorted(list(map(int, input().split())))

def code(s):
    return ord(s)-ord("A")
def codeR(n):
    return chr(ord("A")+n)

ans = []
for d in D:
    ans.append(codeR(d%26))

print("".join(ans))
0