結果

問題 No.418 ミンミンゼミ
ユーザー gemmarogemmaro
提出日時 2020-03-30 22:36:51
言語 Elixir
(1.16.2)
結果
AC  
実行時間 638 ms / 1,000 ms
コード長 164 bytes
コンパイル時間 1,235 ms
コンパイル使用メモリ 54,456 KB
実行使用メモリ 50,132 KB
最終ジャッジ日時 2023-08-29 23:53:42
合計ジャッジ時間 19,687 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 621 ms
49,748 KB
testcase_01 AC 625 ms
49,336 KB
testcase_02 AC 613 ms
50,000 KB
testcase_03 AC 614 ms
49,956 KB
testcase_04 AC 609 ms
49,140 KB
testcase_05 AC 638 ms
49,224 KB
testcase_06 AC 629 ms
50,132 KB
testcase_07 AC 617 ms
49,600 KB
testcase_08 AC 635 ms
49,760 KB
testcase_09 AC 625 ms
49,272 KB
testcase_10 AC 611 ms
49,224 KB
testcase_11 AC 625 ms
49,836 KB
testcase_12 AC 622 ms
49,816 KB
testcase_13 AC 620 ms
49,832 KB
testcase_14 AC 627 ms
49,916 KB
testcase_15 AC 622 ms
49,864 KB
testcase_16 AC 625 ms
49,764 KB
testcase_17 AC 635 ms
49,952 KB
testcase_18 AC 631 ms
49,272 KB
testcase_19 AC 619 ms
49,820 KB
testcase_20 AC 627 ms
49,800 KB
testcase_21 AC 621 ms
49,228 KB
testcase_22 AC 622 ms
49,208 KB
testcase_23 AC 623 ms
49,256 KB
testcase_24 AC 617 ms
49,780 KB
testcase_25 AC 624 ms
49,380 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

defmodule Main do
  def main do
    IO.gets("")
    |> String.trim()
    |> (fn s -> Regex.scan(~r/mi-*n/, s) end).()
    |> Enum.count()
    |> IO.puts()
  end
end
0