結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
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

S.each do |s|
  if s[0] == s[1] then
    puts "=".encode("UTF-8") 
  elsif s.min == s[1] 
    puts ">".encode("UTF-8")
  elsif s.min == s[0] 
    puts "<".encode("UTF-8") 
  end
end
0