結果

問題 No.46 はじめのn歩
ユーザー asatakeasatake
提出日時 2018-08-13 09:42:32
言語 Elixir
(1.16.2)
結果
AC  
実行時間 674 ms / 5,000 ms
コード長 177 bytes
コンパイル時間 1,081 ms
コンパイル使用メモリ 55,100 KB
実行使用メモリ 50,384 KB
最終ジャッジ日時 2023-08-29 22:55:35
合計ジャッジ時間 9,050 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 665 ms
50,136 KB
testcase_01 AC 674 ms
49,376 KB
testcase_02 AC 670 ms
50,112 KB
testcase_03 AC 665 ms
50,384 KB
testcase_04 AC 659 ms
49,948 KB
testcase_05 AC 655 ms
49,876 KB
testcase_06 AC 662 ms
49,272 KB
testcase_07 AC 657 ms
50,312 KB
testcase_08 AC 651 ms
49,056 KB
testcase_09 AC 650 ms
49,820 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

defmodule Main do
  def main() do
    [a, b] = IO.gets("") |> String.trim |> String.split
    IO.puts :math.ceil(String.to_integer(b) / String.to_integer(a)) |> trunc
  end
end
0