結果

問題 No.835 ジュース
ユーザー gemmarogemmaro
提出日時 2020-03-31 21:24:13
言語 Elixir
(1.16.2)
結果
AC  
実行時間 648 ms / 2,000 ms
コード長 195 bytes
コンパイル時間 1,343 ms
コンパイル使用メモリ 55,292 KB
実行使用メモリ 50,168 KB
最終ジャッジ日時 2023-08-29 23:53:52
合計ジャッジ時間 8,351 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 648 ms
49,392 KB
testcase_01 AC 620 ms
49,672 KB
testcase_02 AC 622 ms
49,176 KB
testcase_03 AC 630 ms
49,312 KB
testcase_04 AC 620 ms
49,284 KB
testcase_05 AC 623 ms
49,368 KB
testcase_06 AC 622 ms
49,800 KB
testcase_07 AC 620 ms
50,168 KB
testcase_08 AC 631 ms
49,264 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

defmodule Main do
  def main do
    IO.gets("")
    |> String.trim()
    |> String.to_integer()
    |> (fn n ->
          (1.5 * n)
          |> trunc()
        end).()
    |> IO.puts()
  end
end
0