結果
問題 | No.1850 Rewrite Product |
ユーザー | CleyL |
提出日時 | 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 |
(要ログイン)
ソースコード
#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; } }