結果

問題 No.795 Restrictions!!!!!!!!!!!!!!
ユーザー Kura
提出日時 2019-04-06 17:06:20
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 174 bytes
コンパイル時間 1,304 ms
コンパイル使用メモリ 159,344 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-06-24 08:34:27
合計ジャッジ時間 2,137 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other WA * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>
using namespace std;
int main(){
  int n,m;cin>>n>>m;
  if(n%2*10<=m&&(m-n%2*10)%2==0){
    cout<<"Yes"<<endl;
    return 0;
  }
  cout<<"No"<<endl;
}
0