結果

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

ソースコード

diff #

H,W = map(int,input().split())
n0,n1 = map(int,input().split())
z0,z1 = map(int,input().split())
if (n0+n1)%2 == (z0+z1)%2:
    print("No")
else:
    print("Yes")
0