結果

問題 No.182 新規性の虜
ユーザー gemmarogemmaro
提出日時 2020-04-08 12:25:12
言語 Elixir
(1.16.2)
結果
AC  
実行時間 766 ms / 5,000 ms
コード長 232 bytes
コンパイル時間 1,011 ms
コンパイル使用メモリ 55,228 KB
実行使用メモリ 101,844 KB
最終ジャッジ日時 2023-08-30 00:02:57
合計ジャッジ時間 23,574 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 610 ms
50,044 KB
testcase_01 AC 611 ms
50,424 KB
testcase_02 AC 611 ms
49,692 KB
testcase_03 AC 620 ms
50,028 KB
testcase_04 AC 613 ms
49,772 KB
testcase_05 AC 618 ms
49,236 KB
testcase_06 AC 607 ms
49,300 KB
testcase_07 AC 616 ms
49,928 KB
testcase_08 AC 696 ms
69,596 KB
testcase_09 AC 759 ms
91,100 KB
testcase_10 AC 717 ms
77,876 KB
testcase_11 AC 690 ms
75,580 KB
testcase_12 AC 639 ms
62,056 KB
testcase_13 AC 606 ms
49,888 KB
testcase_14 AC 610 ms
49,560 KB
testcase_15 AC 611 ms
49,168 KB
testcase_16 AC 613 ms
49,348 KB
testcase_17 AC 621 ms
49,216 KB
testcase_18 AC 698 ms
74,364 KB
testcase_19 AC 668 ms
66,484 KB
testcase_20 AC 655 ms
61,740 KB
testcase_21 AC 715 ms
75,080 KB
testcase_22 AC 664 ms
64,604 KB
testcase_23 AC 616 ms
49,860 KB
testcase_24 AC 766 ms
101,844 KB
testcase_25 AC 646 ms
78,844 KB
testcase_26 AC 628 ms
52,492 KB
testcase_27 AC 604 ms
49,336 KB
evil01.txt AC 765 ms
100,148 KB
evil02.txt AC 766 ms
102,204 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

defmodule Main do
  def main do
    IO.gets("")

    IO.gets("")
    |> String.split()
    |> Enum.group_by(fn n -> n end)
    |> Map.values()
    |> Enum.filter(fn v -> length(v) == 1 end)
    |> length()
    |> IO.puts()
  end
end
0