結果

問題 No.3032 Unavailability of Inequality Signs
ユーザー DameningenDameningen
提出日時 2018-04-01 22:20:04
言語 C++17(clang)
(17.0.6 + boost 1.83.0)
結果
WA  
(最新)
AC  
(最初)
実行時間 -
コード長 920 bytes
コンパイル時間 913 ms
コンパイル使用メモリ 139,904 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-04-23 14:29:31
合計ジャッジ時間 2,452 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
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 -
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<cstring>
#include<string>
#include<vector>
#include<iostream>
#include<cstdio>
#include<cstdlib>
#include<stack>
#include<queue>
#include<cmath>
#include<algorithm>
#include<list>
#include<set>
#include<map>
#include<complex>
#include<sstream>
#include<climits>
#define rep(X,Y) for (int (X) = 0;(X) < (Y);++(X))
#define rrep(X,Y) for (int (X) = (Y)-1;(X) >=0;--(X))
#define comp >
#define all(X) (X).begin(),(X).end()
#define pb push_back
#define mp make_pair
#define fi first
#define sc second
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
const int dx[4] = {1, 0, -1, 0}, dy[4] = {0, 1, 0, -1};

const int MAX_N = 100;
int n;
int a[MAX_N], b[MAX_N];

int main() {
  scanf("%d", &n);
  rep(i,n) scanf("%d%d", a+i, b+i);

  rep(i,n) {
    if (a[i] == b[i]) printf("%c\n", '=');
    else if (a[i] comp b[i]) printf("%c\n", '>');
    else printf("%c\n", '<');
  }

  return 0;
}



0