結果

問題 No.46 はじめのn歩
ユーザー shiroshiro
提出日時 2019-06-07 18:13:25
言語 Elixir
(1.16.2)
結果
AC  
実行時間 633 ms / 5,000 ms
コード長 186 bytes
コンパイル時間 1,068 ms
コンパイル使用メモリ 55,472 KB
実行使用メモリ 50,056 KB
最終ジャッジ日時 2023-08-29 23:28:35
合計ジャッジ時間 8,463 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 618 ms
49,344 KB
testcase_01 AC 620 ms
49,944 KB
testcase_02 AC 619 ms
49,256 KB
testcase_03 AC 611 ms
50,012 KB
testcase_04 AC 615 ms
49,332 KB
testcase_05 AC 608 ms
49,864 KB
testcase_06 AC 611 ms
49,960 KB
testcase_07 AC 622 ms
49,776 KB
testcase_08 AC 612 ms
49,292 KB
testcase_09 AC 633 ms
50,056 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

defmodule Main do
  def main do
    [a, b] = IO.gets("") |> String.trim |> String.split(" ") |> Enum.map(&String.to_integer/1)
    Float.ceil(b/a)
    |> trunc
    |> IO.puts

  end
end
0