結果

問題 No.327 アルファベット列
ユーザー matsu7874
提出日時 2015-12-20 00:21:24
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 308 bytes
コンパイル時間 212 ms
コンパイル使用メモリ 12,800 KB
実行使用メモリ 10,880 KB
最終ジャッジ日時 2024-09-17 11:06:32
合計ジャッジ時間 3,305 ms
ジャッジサーバーID
(参考情報)
judge6 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 29 WA * 21
権限があれば一括ダウンロードができます

ソースコード

diff #

import string


def radix_convert(number, radix):
    s = []
    while number > 0:
        s.append(number % radix)
        number = number // radix
    return s[::-1]

N = int(input())
S = ''.join([string.ascii_uppercase[e - 1] for e in radix_convert(N, 26)])[:-1]
print(S + string.ascii_uppercase[N % 26])
0