結果

問題 No.795 Restrictions!!!!!!!!!!!!!!
ユーザー minimamu21
提出日時 2020-03-29 16:35:49
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
(最新)
AC  
(最初)
実行時間 -
コード長 296 bytes
コンパイル時間 1,601 ms
コンパイル使用メモリ 160,296 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2025-01-02 15:20:05
合計ジャッジ時間 2,635 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 11 WA * 9
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
#define rep(i,n) for (int i=0; i<(n); ++i)
using namespace std;
using ll=long long;
int main(){
    int n,m;
    cin>>n>>m;
    string ans="No";
    if(n%2==0&&m%2==0){
        ans="Yes";
    }
    else if(n%2!=0&&m%10==0){
        ans="Yes";
    }
    cout<<ans<<endl;
}
0