結果

問題 No.1850 Rewrite Product
ユーザー shirokamishirokami
提出日時 2022-07-29 23:49:10
言語 C++17
(gcc 12.3.0 + boost 1.83.0)
結果
WA  
実行時間 -
コード長 1,011 bytes
コンパイル時間 2,008 ms
コンパイル使用メモリ 197,764 KB
実行使用メモリ 4,380 KB
最終ジャッジ日時 2023-09-26 23:43:15
合計ジャッジ時間 2,713 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
4,376 KB
testcase_01 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
#pragma GCC optimize("O0")
typedef long long int ll;
typedef long double ld;
const ll mod = 1e9+7;
const ll INF = 9223372036854775806;
#define rep(i,n) for (ll i = 0; i < (n); ++i)
#define Rep(i,a,n) for (ll i = (a); i < (n); ++i)
#define All(a) (a).begin(),(a).end()
#define Pi acos(-1)
using Graph = vector<vector<ll>>;
using V = vector<ll>;
using P = pair<ll,ll>;
template<class T>bool chmax(T &a, const T &b) { if (a<b) { a=b; return 1; } return 0; }
template<class T>bool chmin(T &a, const T &b) { if (b<a) { a=b; return 1; } return 0; }
struct IoSetup {
  IoSetup() {
    cin.tie(nullptr);
    ios_base::sync_with_stdio(false);
    cout << setprecision(15) << fixed;
  }
} iosetup;

int main() {
  ll t;
  cin >> t;
  while(t--) {
    ll x, y;
    string ans;
    cin >> x >> y;
    if (x <= 4) {
      if (y <= 4) {
        ans = "Yes";
      }
      else {
        ans = "No";
      }
    }
    else {
      ans = "Yes";
    }
    cout << ans << '\n';
  }
}
0