結果

問題 No.327 アルファベット列
ユーザー Kaito Koike
提出日時 2018-04-18 15:25:25
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 31 ms / 2,000 ms
コード長 166 bytes
コンパイル時間 321 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,880 KB
最終ジャッジ日時 2024-06-27 04:29:43
合計ジャッジ時間 2,929 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 50
権限があれば一括ダウンロードができます

ソースコード

diff #

import unicodedata

n = int(input())

s = ord("A")

counter = []


ans = ""
while (n >= 0):
    n,m = divmod(n,26)
    ans = chr( s + m) + ans
    n -= 1

print(ans)
0