結果

問題 No.3032 Unavailability of Inequality Signs
ユーザー tacker530tacker530
提出日時 2021-11-23 11:08:46
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 275 bytes
コンパイル時間 150 ms
コンパイル使用メモリ 11,424 KB
実行使用メモリ 15,368 KB
最終ジャッジ日時 2023-09-07 13:05:12
合計ジャッジ時間 3,300 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

# No.3032 Unavailability of Inequality Signs
N = gets.chomp.to_i
S = []
N.times do |i|
  S[i] = gets.chomp.split.map(&:to_i)
end

# pp N,S

S.each do |s|
  if s[0] == s[1] then
    puts "=" 
  elsif s.min == s[1] 
    puts ">"
  elsif s.min == s[0] 
    puts "<" 
  end
end
0