結果
| 問題 | No.327 アルファベット列 |
| コンテスト | |
| ユーザー |
norioc
|
| 提出日時 | 2024-08-20 09:56:51 |
| 言語 | PyPy3 (7.3.23 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 65 ms / 2,000 ms |
| + 142µs | |
| コード長 | 199 bytes |
| 記録 | |
| コンパイル時間 | 234 ms |
| コンパイル使用メモリ | 95,984 KB |
| 実行使用メモリ | 79,232 KB |
| 最終ジャッジ日時 | 2026-08-25 02:58:36 |
| 合計ジャッジ時間 | 6,011 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 50 |
ソースコード
def f(n):
cs = []
x = n + 1
while x > 0:
x, m = divmod(x-1, 26)
cs.append(m)
return ''.join(reversed([chr(c + ord('A')) for c in cs]))
N = int(input())
print(f(N))
norioc