結果

問題 No.3032 Unavailability of Inequality Signs
ユーザー mukadenodaioumukadenodaiou
提出日時 2018-04-01 22:19:26
言語 C++11
(gcc 11.4.0)
結果
WA  
実行時間 -
コード長 1,154 bytes
コンパイル時間 676 ms
コンパイル使用メモリ 94,460 KB
実行使用メモリ 4,504 KB
最終ジャッジ日時 2023-09-08 12:38:00
合計ジャッジ時間 2,466 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
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 <vector>
# include <string>
# include <set>
# include <map>
# include <cmath>
# include <iomanip>
# include <functional>
# include <utility>
# include <stack>
# include <queue>
# include <list>
# include <bitset>
# include <complex>
#include<limits.h>
#include<unordered_map>
#include<unordered_set>
#include<deque>
#include<cstdio>
using namespace std;
typedef long long int ll;
const int N = 1000000;
const int mod = 1000000007;
const int INF = 1 << 30;
#define rep(i,n) for(int i=(ll)0;i<(ll)n;++i)
#define ALL(x) x.begin(),x.end()
#define pp pair<ll,ll>
#define fi first
#define se second
#define pb push_back
ll ppow(ll x, ll n) {
	ll ans = 1;
	while (n > 0) {
		if ((n & 1) == 1)ans = ans + x;
		x = x * x;
		n >>= 1;
		ans %= mod;
	}
	return ans;
}
string YN(bool b) { return(b ? "YES" : "NO"); }
string yn(bool b) { return(b ? "Yes" : "No"); }
ll n,a,b;
// <=12,==13,>=14
int main() {
	cin >> n;
	rep(i, n) {
		cin >> a >> b;
		if (a == b)cout <<char('0' + 13) << endl;
		else {
			if (max(a, b) == a)cout << char('0' + 14) << endl;
			else cout << char('0' + 12) << endl;
		}
	}
	return 0;
}
0