結果
問題 |
No.499 7進数変換
|
ユーザー |
![]() |
提出日時 | 2017-07-21 19:51:57 |
言語 | Nim (2.2.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 228 bytes |
コンパイル時間 | 2,921 ms |
コンパイル使用メモリ | 66,860 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-06-30 01:43:22 |
合計ジャッジ時間 | 3,861 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 30 WA * 1 |
コンパイルメッセージ
/home/judge/data/code/Main.nim(1, 39) Warning: Use the new 'sugar' module instead; future is deprecated [Deprecated] /home/judge/data/code/Main.nim(1, 39) Warning: imported and not used: 'future' [UnusedImport] /home/judge/data/code/Main.nim(1, 18) Warning: imported and not used: 'sequtils' [UnusedImport] /home/judge/data/code/Main.nim(1, 28) Warning: imported and not used: 'algorithm' [UnusedImport]
ソースコード
import strutils, sequtils, algorithm, future {.warning[SmallLshouldNotBeUsed]: off.} when isMainModule: var n = stdin.readLine.parseInt ans = "" while n != 0: ans = $(n mod 7) & ans n = n div 7 echo ans