結果

問題 No.558 575検出するやつ
ユーザー gemmarogemmaro
提出日時 2020-04-10 07:14:43
言語 Elixir
(1.16.2)
結果
AC  
実行時間 628 ms / 2,000 ms
コード長 234 bytes
コンパイル時間 1,018 ms
コンパイル使用メモリ 55,224 KB
実行使用メモリ 49,920 KB
最終ジャッジ日時 2023-08-30 00:03:47
合計ジャッジ時間 15,189 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 605 ms
49,308 KB
testcase_01 AC 605 ms
49,768 KB
testcase_02 AC 626 ms
49,092 KB
testcase_03 AC 617 ms
49,784 KB
testcase_04 AC 617 ms
49,116 KB
testcase_05 AC 613 ms
49,756 KB
testcase_06 AC 618 ms
49,176 KB
testcase_07 AC 608 ms
49,884 KB
testcase_08 AC 612 ms
49,836 KB
testcase_09 AC 615 ms
49,220 KB
testcase_10 AC 619 ms
49,824 KB
testcase_11 AC 616 ms
49,304 KB
testcase_12 AC 612 ms
49,804 KB
testcase_13 AC 613 ms
49,044 KB
testcase_14 AC 621 ms
49,920 KB
testcase_15 AC 623 ms
49,136 KB
testcase_16 AC 611 ms
49,208 KB
testcase_17 AC 616 ms
49,788 KB
testcase_18 AC 614 ms
49,340 KB
testcase_19 AC 628 ms
49,124 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

defmodule Main do
  def main do
    IO.gets("")
    |> String.trim()
    |> (fn s ->
          cond do
            s |> String.contains?("575") -> "YES"
            true -> "NO"
          end
        end).()
    |> IO.puts()
  end
end
0