結果
| 問題 | 
                            No.8032 Unavailability of Inequality Signs 
                             | 
                    
| コンテスト | |
| ユーザー | 
                             norioc
                         | 
                    
| 提出日時 | 2024-07-24 02:36:10 | 
| 言語 | Elixir  (1.18.1)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 763 ms / 2,000 ms | 
| コード長 | 493 bytes | 
| コンパイル時間 | 1,435 ms | 
| コンパイル使用メモリ | 62,452 KB | 
| 実行使用メモリ | 54,868 KB | 
| 最終ジャッジ日時 | 2024-07-24 02:36:21 | 
| 合計ジャッジ時間 | 10,021 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge1 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 7 | 
ソースコード
defmodule Main do
  def main do
    n = ii()
    f(n)
  end
  def f(n) do
    if n != 0 do
      [a, b] = li()
      if a == b do
        IO.puts("=")
      else
        t = String.to_charlist(Integer.to_string(a-b))
        g(t)
      end
      f(n-1)
    end
  end
  def g([?- | _]), do: IO.puts [60]
  def g(_), do: IO.puts [62]
  def input, do: String.trim(IO.read(:line))
  def ii, do: String.to_integer(input())
  def li, do: Enum.map(String.split(input()), &String.to_integer/1)
end
            
            
            
        
            
norioc