結果

問題 No.46 はじめのn歩
ユーザー 3qvwn3qvwn
提出日時 2019-07-01 23:33:26
言語 Elixir
(1.16.2)
結果
AC  
実行時間 654 ms / 5,000 ms
コード長 176 bytes
コンパイル時間 1,162 ms
コンパイル使用メモリ 54,704 KB
実行使用メモリ 50,024 KB
最終ジャッジ日時 2023-08-29 23:29:06
合計ジャッジ時間 8,808 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 632 ms
49,348 KB
testcase_01 AC 636 ms
49,888 KB
testcase_02 AC 629 ms
49,248 KB
testcase_03 AC 639 ms
49,844 KB
testcase_04 AC 633 ms
49,308 KB
testcase_05 AC 644 ms
50,024 KB
testcase_06 AC 646 ms
49,420 KB
testcase_07 AC 654 ms
49,936 KB
testcase_08 AC 639 ms
49,944 KB
testcase_09 AC 633 ms
49,852 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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