結果
問題 | No.1850 Rewrite Product |
ユーザー |
![]() |
提出日時 | 2022-02-25 21:27:13 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 421 ms / 2,000 ms |
コード長 | 526 bytes |
コンパイル時間 | 3,742 ms |
コンパイル使用メモリ | 228,720 KB |
実行使用メモリ | 6,940 KB |
最終ジャッジ日時 | 2024-07-03 16:06:49 |
合計ジャッジ時間 | 4,615 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 1 |
ソースコード
#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; }