結果

問題 No.1714 Tag on Grid
ユーザー lam6er
提出日時 2025-03-20 20:19:52
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 38 ms / 2,000 ms
コード長 180 bytes
コンパイル時間 204 ms
コンパイル使用メモリ 82,300 KB
実行使用メモリ 53,088 KB
最終ジャッジ日時 2025-03-20 20:20:42
合計ジャッジ時間 2,134 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 25
権限があれば一括ダウンロードができます

ソースコード

diff #

H, W = map(int, input().split())
n_i, n_j = map(int, input().split())
z_i, z_j = map(int, input().split())

d = abs(n_i - z_i) + abs(n_j - z_j)
print("Yes" if d % 2 == 1 else "No")
0