結果

問題 No.1699 Unfair RPS
ユーザー harurunharurun
提出日時 2021-09-14 14:45:02
言語 Elixir
(1.16.2)
結果
AC  
実行時間 585 ms / 2,000 ms
コード長 245 bytes
コンパイル時間 2,762 ms
コンパイル使用メモリ 53,104 KB
実行使用メモリ 50,260 KB
最終ジャッジ日時 2023-09-30 09:34:37
合計ジャッジ時間 10,240 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 565 ms
49,960 KB
testcase_01 AC 570 ms
49,804 KB
testcase_02 AC 573 ms
49,380 KB
testcase_03 AC 574 ms
49,376 KB
testcase_04 AC 579 ms
49,188 KB
testcase_05 AC 580 ms
49,224 KB
testcase_06 AC 576 ms
49,184 KB
testcase_07 AC 585 ms
49,840 KB
testcase_08 AC 582 ms
49,252 KB
testcase_09 AC 581 ms
49,308 KB
testcase_10 AC 578 ms
50,260 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

defmodule Main do
  def main() do
    [b,c]=
      IO.read(:line)
      |> String.trim()
      |> String.split(" ")
      |> Enum.map(&String.to_integer/1)
    cond do
      b==c -> IO.puts("Yes")
      (b)!=c -> IO.puts("No")
    end
  end
end
0