結果

問題 No.1714 Tag on Grid
ユーザー 👑 SPD_9X2SPD_9X2
提出日時 2021-10-22 21:29:07
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 39 ms / 2,000 ms
コード長 264 bytes
コンパイル時間 582 ms
コンパイル使用メモリ 82,360 KB
実行使用メモリ 53,800 KB
最終ジャッジ日時 2024-09-23 04:42:08
合計ジャッジ時間 2,111 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 25
権限があれば一括ダウンロードができます

ソースコード

diff #

"""

X..
..X

"""

import sys
from sys import stdin
import math

H,W = map(int,stdin.readline().split())

x,y = map(int,stdin.readline().split())
X,Y = map(int,stdin.readline().split())


if (abs(x-X) + abs(y-Y)) % 2 == 0:
    print ("No")
else:
    print ("Yes")
0