結果

問題 No.244 ★1のグラフの問題
ユーザー gemmarogemmaro
提出日時 2020-03-30 18:32:00
言語 Elixir
(1.16.2)
結果
AC  
実行時間 653 ms / 2,000 ms
コード長 144 bytes
コンパイル時間 1,530 ms
コンパイル使用メモリ 55,108 KB
実行使用メモリ 50,252 KB
最終ジャッジ日時 2023-08-29 23:51:18
合計ジャッジ時間 9,251 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 616 ms
49,312 KB
testcase_01 AC 630 ms
49,260 KB
testcase_02 AC 635 ms
49,292 KB
testcase_03 AC 645 ms
49,276 KB
testcase_04 AC 653 ms
49,204 KB
testcase_05 AC 639 ms
49,892 KB
testcase_06 AC 623 ms
49,244 KB
testcase_07 AC 636 ms
49,908 KB
testcase_08 AC 649 ms
49,276 KB
testcase_09 AC 644 ms
50,252 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

defmodule Main do
  def main do
    IO.gets("")
    |> String.trim()
    |> String.to_integer()
    |> (&(&1 - 1)).()
    |> IO.puts()
  end
end
0