結果

問題 No.388 階段 (1)
ユーザー yoshirawyoshiraw
提出日時 2018-12-28 15:36:43
言語 Elixir
(1.16.2)
結果
AC  
実行時間 647 ms / 2,000 ms
コード長 183 bytes
コンパイル時間 1,312 ms
コンパイル使用メモリ 55,388 KB
実行使用メモリ 50,968 KB
最終ジャッジ日時 2023-08-29 23:11:23
合計ジャッジ時間 12,462 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 628 ms
49,848 KB
testcase_01 AC 643 ms
50,156 KB
testcase_02 AC 635 ms
49,492 KB
testcase_03 AC 644 ms
49,240 KB
testcase_04 AC 633 ms
49,332 KB
testcase_05 AC 642 ms
50,040 KB
testcase_06 AC 634 ms
49,260 KB
testcase_07 AC 642 ms
49,844 KB
testcase_08 AC 633 ms
49,792 KB
testcase_09 AC 647 ms
50,276 KB
testcase_10 AC 644 ms
49,948 KB
testcase_11 AC 643 ms
49,320 KB
testcase_12 AC 642 ms
50,968 KB
testcase_13 AC 637 ms
49,756 KB
testcase_14 AC 630 ms
49,204 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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