結果

問題 No.1527 Input Constant is Good
ユーザー DieGoDieGo
提出日時 2021-07-22 15:48:53
言語 Elixir
(1.16.2)
結果
AC  
実行時間 633 ms / 2,000 ms
コード長 246 bytes
コンパイル時間 1,005 ms
コンパイル使用メモリ 54,764 KB
実行使用メモリ 50,088 KB
最終ジャッジ日時 2023-09-24 14:11:22
合計ジャッジ時間 9,237 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 629 ms
50,088 KB
testcase_01 AC 627 ms
49,804 KB
testcase_02 AC 612 ms
49,260 KB
testcase_03 AC 614 ms
49,060 KB
testcase_04 AC 624 ms
49,764 KB
testcase_05 AC 632 ms
49,764 KB
testcase_06 AC 630 ms
49,732 KB
testcase_07 AC 627 ms
49,160 KB
testcase_08 AC 633 ms
49,116 KB
testcase_09 AC 617 ms
49,220 KB
testcase_10 AC 614 ms
49,164 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

defmodule Main do
  def main do
    [a, b] = IO.read(:line) |> String.trim |> String.split(" ") |> Enum.map(&String.to_integer/1)

    cond do
      a <= b -> IO.puts "Yes"
      a > b -> IO.puts "No"
      true -> IO.puts "No"
    end
  end
end
0