結果

問題 No.1850 Rewrite Product
ユーザー kai4096_donkai4096_don
提出日時 2022-02-25 21:27:13
言語 C++14
(gcc 12.3.0 + boost 1.83.0)
結果
AC  
実行時間 401 ms / 2,000 ms
コード長 526 bytes
コンパイル時間 3,777 ms
コンパイル使用メモリ 226,376 KB
実行使用メモリ 4,376 KB
最終ジャッジ日時 2023-09-16 16:04:16
合計ジャッジ時間 4,686 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ(β)

テストケース

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

ソースコード

diff #

#include <bits/stdc++.h>
#include <atcoder/all>
using namespace std;
using namespace atcoder;
//const long nPrime = 1000000007;
//const long nPrime = 998244353;
typedef long long ll;
int main() {
    long t;
    cin >> t;
    while(t--){
        long x,y;
        cin >> x >> y;
        if (x <= 4){
            if(y<=x){
                cout << "Yes" << endl;
            } else {
                cout << "No" << endl;
            }
        } else {
            cout << "Yes" << endl;
        }
        
    }
    return 0;
}
0