結果

問題 No.1850 Rewrite Product
ユーザー Nzt3Nzt3
提出日時 2022-02-26 00:38:13
言語 C++14
(gcc 12.3.0 + boost 1.83.0)
結果
AC  
実行時間 48 ms / 2,000 ms
コード長 285 bytes
コンパイル時間 1,359 ms
コンパイル使用メモリ 163,180 KB
実行使用メモリ 4,376 KB
最終ジャッジ日時 2023-09-16 20:34:53
合計ジャッジ時間 1,883 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

#include<bits/stdc++.h>
using namespace std;
const int mod=998244353;
int main(){
  ios::sync_with_stdio(false);
  cin.tie(nullptr);
  int T;
  cin>>T;
  while(T--){
    int A,B;
    cin>>A>>B;
    if(A<5){
      cout<<(B<=A?"Yes\n":"No\n");
    }else{
      cout<<"Yes\n";
    }
  }
}
0