結果

問題 No.8032 Unavailability of Inequality Signs
ユーザー 👑 obakyan
提出日時 2021-06-10 23:44:20
言語 Lua
(LuaJit 2.1.1734355927)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 234 bytes
コンパイル時間 41 ms
コンパイル使用メモリ 5,248 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-11-30 11:48:25
合計ジャッジ時間 816 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 7
権限があれば一括ダウンロードができます

ソースコード

diff #

local lt = string.char(60)
local gt = string.char(62)
q = io.read("*n")
for iq = 1, q do
  a, b = io.read("*n", "*n")
  if a == b then
    print("=")
  elseif math.abs(b - a) == b - a then
    print(lt)
  else
    print(gt)
  end
end
0