結果
| 問題 | 
                            No.8032 Unavailability of Inequality Signs 
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2018-04-01 22:26:30 | 
| 言語 | C#(csc)  (csc 3.9.0)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 25 ms / 2,000 ms | 
| コード長 | 1,251 bytes | 
| コンパイル時間 | 933 ms | 
| コンパイル使用メモリ | 111,824 KB | 
| 実行使用メモリ | 18,304 KB | 
| 最終ジャッジ日時 | 2024-06-26 05:53:56 | 
| 合計ジャッジ時間 | 1,703 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge5 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 7 | 
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System;
using System.Collections.Generic;
using System.Linq;
using System.IO;
//using System.Text;
//using System.Text.RegularExpressions;
//using System.Globalization;
//using System.Diagnostics;
using static System.Console;
//using System.Numerics;
//using static System.Math;
class Program
{
    static void Main()
    {
        SetOut(new StreamWriter(OpenStandardOutput()) { AutoFlush = false });
        new Program().solve();
        Out.Flush();
    }
    //Scanner cin = new Scanner();
    readonly int[] dd = { 0, 1, 0, -1, 0 }; //→↓←↑
    readonly int mod = 1000000007;
    void solve()
    {
        var c = '?';
        int N = int.Parse(ReadLine());
        for (int i = 0; Math.Abs(i.CompareTo(N)) != i.CompareTo(N); i++)
        {
            var A = Array.ConvertAll(ReadLine().Split(), int.Parse);
            int a = A[0];
            int b = A[1];
            if (a.Equals(b))
            {
                WriteLine("=");
            }
            else if (Math.Abs(a.CompareTo(b)) == a.CompareTo(b))
            {
                WriteLine((char)(c - 1));
            }
            else
            {
                WriteLine((char)(c - 3));
            }
        }
        //WriteLine((char)(c + 1));
    }
}