結果

問題 No.671 1000000007
ユーザー gemmarogemmaro
提出日時 2020-04-08 11:50:23
言語 Elixir
(1.16.2)
結果
AC  
実行時間 622 ms / 2,000 ms
コード長 154 bytes
コンパイル時間 1,009 ms
コンパイル使用メモリ 55,160 KB
実行使用メモリ 50,148 KB
最終ジャッジ日時 2023-08-30 00:01:35
合計ジャッジ時間 10,399 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 619 ms
49,240 KB
testcase_01 AC 617 ms
50,040 KB
testcase_02 AC 617 ms
49,948 KB
testcase_03 AC 622 ms
50,148 KB
testcase_04 AC 608 ms
49,708 KB
testcase_05 AC 616 ms
49,236 KB
testcase_06 AC 617 ms
49,260 KB
testcase_07 AC 622 ms
49,104 KB
testcase_08 AC 614 ms
49,908 KB
testcase_09 AC 615 ms
49,716 KB
testcase_10 AC 619 ms
49,232 KB
testcase_11 AC 611 ms
49,840 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

defmodule Main do
  def main do
    IO.gets("")
    |> String.trim()
    |> String.length()
    |> (fn n -> abs(n - 10) end).()
    |> IO.puts()
  end
end
0