結果
問題 | No.1850 Rewrite Product |
ユーザー | nonon |
提出日時 | 2023-07-16 05:33:06 |
言語 | C++17 (gcc 12.3.0 + boost 1.83.0) |
結果 |
AC
|
実行時間 | 414 ms / 2,000 ms |
コード長 | 1,010 bytes |
コンパイル時間 | 2,455 ms |
コンパイル使用メモリ | 200,952 KB |
実行使用メモリ | 4,348 KB |
最終ジャッジ日時 | 2023-10-17 14:50:40 |
合計ジャッジ時間 | 3,447 ms |
ジャッジサーバーID (参考情報) |
judge15 / judge13 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 2 ms
4,348 KB |
testcase_01 | AC | 414 ms
4,348 KB |
ソースコード
#include<bits/stdc++.h> using namespace std; using ll = long long; using db = long double; using ch = char; using bl = bool; using st = string; using pll = pair<ll,ll>; using psl = pair<st,ll>; using vst = vector<st>; using vch = vector<ch>; using vvch = vector<vch>; using vbl = vector<bl>; using vvbl = vector<vbl>; using vdb = vector<db>; using vpll = vector<pll>; using vpsl = vector<psl>; using vi = vector<int>; using vvi = vector<vi>; using vvvi = vector<vvi>; using vvvvi = vector<vvvi>; using vll = vector<ll>; using vvll = vector<vll>; using vvvll = vector<vvll>; using vvvvll = vector<vvvll>; using vvvvvll = vector<vvvvll>; #define all(A) A.begin(),A.end() #define rep(i, n) for (ll i = 0; i < (ll)(n); i++) #define rrep(i,a,b) for(int i=(ll)(a);i<=(ll)(b);i++) int main() { ll T; cin>>T; while(T--){ ll X,Y; cin>>X>>Y; if(X>=Y || X>4){ cout << "Yes" << endl; } else{ cout << "No" << endl; } } return 0; }