結果
| 問題 | No.499 7進数変換 |
| コンテスト | |
| ユーザー |
nobigomu
|
| 提出日時 | 2018-06-04 19:00:16 |
| 言語 | Lua (LuaJit 2.1.1774638290) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 1,000 ms |
| コード長 | 150 bytes |
| 記録 | |
| コンパイル時間 | 410 ms |
| コンパイル使用メモリ | 7,844 KB |
| 実行使用メモリ | 7,716 KB |
| 最終ジャッジ日時 | 2026-03-20 06:32:16 |
| 合計ジャッジ時間 | 1,337 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 31 |
ソースコード
print((function (n)
if n==0 then return n end
local s="" while (n>0) do n,s=math.floor(n/7),tostring(n%7)..s end return s
end)(io.stdin:read("*n")))
nobigomu