結果
問題 | No.3132 暗号メッセージ |
ユーザー |
👑 |
提出日時 | 2025-05-02 21:27:15 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 40 ms / 2,000 ms |
コード長 | 206 bytes |
コンパイル時間 | 534 ms |
コンパイル使用メモリ | 82,248 KB |
実行使用メモリ | 52,352 KB |
最終ジャッジ日時 | 2025-05-02 21:27:17 |
合計ジャッジ時間 | 2,005 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 17 |
ソースコード
N = int(input()) C = list(map(int, input().split())) A = [c // 26 for c in C] B = [c % 26 for c in C] order = sorted([*range(N)], key=lambda i: A[i]) print(*[chr(B[i] + ord('A')) for i in order], sep="")