結果

問題 No.85 TVザッピング(1)
ユーザー 👑 CleyL
提出日時 2020-02-18 00:44:51
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 202 bytes
コンパイル時間 510 ms
コンパイル使用メモリ 63,076 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-10-06 15:18:40
合計ジャッジ時間 1,417 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 25 WA * 2
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
using namespace std;
int main(){
    int a,b;cin>>a>>b;
    if((a%2 && b%2) || a==1 || b==1){
        
        cout << "NO" << endl;
    }else{
        cout << "YES" << endl;
    }
}
0