結果

問題 No.63 ポッキーゲーム
ユーザー midolin limegreenmidolin limegreen
提出日時 2019-01-03 07:57:23
言語 Elixir
(1.16.2)
結果
WA  
実行時間 -
コード長 239 bytes
コンパイル時間 1,176 ms
コンパイル使用メモリ 54,640 KB
実行使用メモリ 50,396 KB
最終ジャッジ日時 2023-08-29 23:12:19
合計ジャッジ時間 16,764 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 619 ms
49,424 KB
testcase_01 AC 621 ms
49,884 KB
testcase_02 AC 615 ms
49,696 KB
testcase_03 AC 622 ms
49,868 KB
testcase_04 WA -
testcase_05 AC 620 ms
49,336 KB
testcase_06 AC 618 ms
49,288 KB
testcase_07 AC 627 ms
49,352 KB
testcase_08 AC 623 ms
50,016 KB
testcase_09 AC 625 ms
49,248 KB
testcase_10 AC 635 ms
50,180 KB
testcase_11 AC 628 ms
49,244 KB
testcase_12 AC 625 ms
49,860 KB
testcase_13 WA -
testcase_14 AC 624 ms
49,132 KB
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
testcase_21 AC 619 ms
49,224 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

defmodule Main do
  def main do
    [l, k] = IO.gets("")  |> String.trim
                          |> String.split
                          |> Enum.map(&String.to_integer/1)
    div(l, 2 * k) * k |> Integer.to_string |> IO.puts
  end
end
0