結果
| 問題 | No.1714 Tag on Grid | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2021-10-28 17:41:12 | 
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 3 ms / 2,000 ms | 
| コード長 | 240 bytes | 
| コンパイル時間 | 2,122 ms | 
| コンパイル使用メモリ | 190,316 KB | 
| 最終ジャッジ日時 | 2025-01-25 08:03:15 | 
| ジャッジサーバーID (参考情報) | judge2 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 25 | 
ソースコード
#include <bits/stdc++.h>
using namespace std;
long long h, w, a, b, c, d;
int main(){
    cin >> h >> w >> a >> b >> c >> d;
    
    if(abs(a + b - c - d) % 2 == 1)
        cout << "Yes" << endl;
    else
        cout << "No" << endl;
}
            
            
            
        