結果
問題 |
No.499 7進数変換
|
ユーザー |
![]() |
提出日時 | 2018-11-13 20:20:35 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 264 bytes |
コンパイル時間 | 130 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-12-24 13:22:33 |
合計ジャッジ時間 | 1,988 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 24 WA * 7 |
ソースコード
N = int(input()) N_list = [] while True: if N // 7 < 7: N_list.append(N % 7) N_list.append(N // 7) break else: N_list.append(N % 7) N = N // 7 for i in range(len(N_list)-1,-1,-1): print(N_list[i],end="") print()