結果
| 問題 | No.327 アルファベット列 |
| コンテスト | |
| ユーザー |
tjake
|
| 提出日時 | 2015-12-20 00:13:56 |
| 言語 | PyPy2 (7.3.20) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 177 bytes |
| 記録 | |
| コンパイル時間 | 170 ms |
| コンパイル使用メモリ | 77,472 KB |
| 最終ジャッジ日時 | 2025-12-03 18:44:27 |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 1 WA * 49 |
ソースコード
n = input()
s = ""
if n<26:
print chr(n+65)
else:
while 1:
s = chr((n%26 if n>25 else n-1)+65)+s
n /= 26
if not n:
break
print s
tjake