結果

問題 No.3032 Unavailability of Inequality Signs
ユーザー akusyounin2412akusyounin2412
提出日時 2018-04-01 22:37:23
言語 C++17(clang)
(14.0.0 + boost 1.83.0)
結果
WA  
(最新)
AC  
(最初)
実行時間 -
コード長 1,132 bytes
コンパイル時間 1,543 ms
コンパイル使用メモリ 113,080 KB
実行使用メモリ 4,384 KB
最終ジャッジ日時 2023-08-05 17:39:50
合計ジャッジ時間 3,493 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
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 <iostream>
# include <algorithm>
#include <array>
# include <cassert>
#include <cctype>
#include <climits>
#include <numeric>
# include <vector>
# include <string>
# include <set>
# include <map>
# include <cmath>
# include <iomanip>
# include <functional>
# include <tuple>
# include <utility>
# include <stack>
# include <queue>
# include <list>
# include <bitset>
# include <complex>
# include <chrono>
# include <random>
# include <limits.h>
# include <unordered_map>
# include <unordered_set>
# include <deque>
# include <cstdio>
# include <cstring>
#include <stdio.h>
using namespace std;
using LL = long long;
using ULL = unsigned long long;
constexpr long long MOD = 1000000000 + 7;
const double PI = acos(-1);
struct Tll { LL first, second, third; };
int h, w, n, m, k, s, t, q, sum, last, cnt, ans,a[2000000],b[2000000];
string str;
bool f;
char  c;
int main(void) {
	scanf("%d", &n);
	char x = 60, y = 61, z = 62;
	while(n){
		scanf("%d%d", &h, &w);
		if (h - w == 0)printf("%c\n", y);
		else if (h - w == abs(h - w))printf("%c\n",z);
		else printf("%c\n", x); // cout << (char)x << endl;
		n--;
	}
	return 0;
}
0