結果

問題 No.8032 Unavailability of Inequality Signs
コンテスト
ユーザー firiexp
提出日時 2020-03-25 13:15:51
言語 C++14
(gcc 15.2.0 + boost 1.89.0)
コンパイル:
g++-15 -O2 -lm -std=c++14 -Wuninitialized -DONLINE_JUDGE -o a.out _filename_
実行:
./a.out
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 572 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 755 ms
コンパイル使用メモリ 103,784 KB
実行使用メモリ 6,400 KB
最終ジャッジ日時 2026-06-05 15:37:15
合計ジャッジ時間 1,773 ms
ジャッジサーバーID
(参考情報)
judge3_1 / judge2_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 7
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

#include "iostream"
#include "algorithm"
#include "iomanip"
#include "map"
#include "set"
#include "queue"
#include "stack"
#include "numeric"
#include "bitset"
#include "cmath"

static const int MOD = 1000000007;
using ll = long long;
using u32 = unsigned;
using u64 = unsigned long long;
using namespace std;

int main() {
    int n; scanf("%d", &n);
    for (int i = 0; i != n; ++i) {
        int a, b; scanf("%d %d", &a, &b);
        if(a == b) puts("=");
        else if(u32(b-a)&0x80000000) printf("%c\n", 62);
        else  printf("%c\n", 60);
    }
    return 0;
}
0