結果
| 問題 |
No.327 アルファベット列
|
| コンテスト | |
| ユーザー |
kg_curry57
|
| 提出日時 | 2018-06-21 07:09:40 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 273 bytes |
| コンパイル時間 | 81 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,624 KB |
| 最終ジャッジ日時 | 2024-06-30 17:33:51 |
| 合計ジャッジ時間 | 3,300 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 29 WA * 21 |
ソースコード
def main():
n = int(input())
c_lst = list()
c_lst.append(chr(ord('A') + n % 26))
n //= 26
while n > 0:
c_lst.append(chr(ord('A')+n % 26-1))
n //= 26
c_lst.reverse()
print("".join(c_lst))
if __name__ == '__main__':
main()
kg_curry57