結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
5,248 KB
testcase_01 AC 2 ms
5,376 KB
testcase_02 AC 1 ms
5,376 KB
testcase_03 AC 1 ms
5,376 KB
testcase_04 AC 2 ms
5,376 KB
testcase_05 AC 1 ms
5,376 KB
testcase_06 AC 1 ms
5,376 KB
testcase_07 AC 2 ms
5,376 KB
testcase_08 AC 2 ms
5,376 KB
testcase_09 AC 2 ms
5,376 KB
権限があれば一括ダウンロードができます

ソースコード

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 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 main() {
  scanf("%d", &n);

  while (n--) {
    int a, b;
    scanf("%d%d", &a, &b);
    if (a == b) printf("%c\n", (char)61);
    else if (min(a,b) == a) printf("%c\n", (char)60);
    else if (min(a,b) == b) printf("%c\n", (char)62);
  }

  return 0;
}

0