結果
問題 |
No.8032 Unavailability of Inequality Signs
|
ユーザー |
![]() |
提出日時 | 2018-04-01 22:19:26 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 1,154 bytes |
コンパイル時間 | 837 ms |
コンパイル使用メモリ | 93,932 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-06-26 05:50:35 |
合計ジャッジ時間 | 2,470 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 3 |
other | WA * 7 |
ソースコード
# 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; }