結果

問題 No.795 Restrictions!!!!!!!!!!!!!!
ユーザー sister_DB
提出日時 2019-06-09 22:06:02
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 245 bytes
コンパイル時間 576 ms
コンパイル使用メモリ 53,368 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-10-06 00:20:19
合計ジャッジ時間 1,188 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other WA * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
using namespace std;

int main(){
    
    int n,m;
    cin >> n >> m;
    
    if(n % 2)
        m -= 10;
    
    if(m % 2 || m < 0)
        cout << "NO" << "\n";
    else
        cout << "YES" << "\n";
    
    return 0;
}
0