結果
| 問題 | No.1850 Rewrite Product |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-07-09 00:13:29 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 223 bytes |
| 記録 | |
| コンパイル時間 | 497 ms |
| コンパイル使用メモリ | 79,776 KB |
| 実行使用メモリ | 7,972 KB |
| 最終ジャッジ日時 | 2026-06-26 14:28:11 |
| 合計ジャッジ時間 | 1,593 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | WA * 1 |
ソースコード
#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;
}
}