結果

問題 No.1850 Rewrite Product
ユーザー CleyLCleyL
提出日時 2022-07-09 00:13:29
言語 C++17
(gcc 12.3.0 + boost 1.83.0)
結果
WA  
実行時間 -
コード長 223 bytes
コンパイル時間 516 ms
コンパイル使用メモリ 68,108 KB
実行使用メモリ 4,384 KB
最終ジャッジ日時 2023-08-28 09:14:59
合計ジャッジ時間 1,671 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

#include <iostream>
using namespace std;
int main(){
    int n;cin>>n;
    for(int i = 0; n > i; i++){
        int a,b;cin>>a>>b;
        if(a == 1 && b != 1)cout << "No" << endl;
        else cout << "Yes" << endl;
    }
}
0