結果
| 問題 | No.1714 Tag on Grid | 
| コンテスト | |
| ユーザー |  taiga0629kyopro | 
| 提出日時 | 2021-10-22 21:33:32 | 
| 言語 | PyPy3 (7.3.15) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 41 ms / 2,000 ms | 
| コード長 | 156 bytes | 
| コンパイル時間 | 247 ms | 
| コンパイル使用メモリ | 82,028 KB | 
| 実行使用メモリ | 51,968 KB | 
| 最終ジャッジ日時 | 2024-09-23 04:48:36 | 
| 合計ジャッジ時間 | 2,209 ms | 
| ジャッジサーバーID (参考情報) | judge3 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 25 | 
ソースコード
h,w=map(int,input().split())
ni,nj=map(int,input().split())
zi,zj=map(int,input().split())
ans=abs(ni-zi)+abs(nj+zj)
print("Yes" if ans%2==1 else "No")
            
            
            
        