結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
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 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;
typedef pair<int,int> pii;
typedef pair<ll,ll> pll;
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() {
  cin >> n;
  rep(i,n) cin >> a[i] >> b[i];

  rep(i,n) {
    if (a[i] > b[i]) cout << '>' << endl;
    else if (a[i] == b[i]) cout << '=' << endl;
    else cout << '<' << endl;
  }

  return 0;
}

0