結果
問題 |
No.46 はじめのn歩
|
ユーザー |
![]() |
提出日時 | 2018-03-18 15:51:39 |
言語 | Lua (LuaJit 2.1.1734355927) |
結果 |
AC
|
実行時間 | 2 ms / 5,000 ms |
コード長 | 141 bytes |
コンパイル時間 | 219 ms |
コンパイル使用メモリ | 5,376 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-12-26 08:42:41 |
合計ジャッジ時間 | 799 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 10 |
ソースコード
print((function (a, b) local i, f = math.modf(b / a) if f ~= 0 then i = i + 1 end return i end)(io.stdin:read("*n"), io.stdin:read("*n")))