結果

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

ソースコード

diff #

h, w = map(int,input().split())
ni, nj = map(int,input().split())
mi, mj = map(int,input().split())

if (ni + nj) % 2 != (mi + mj) % 2:
    print('Yes')
else:
    print('No')
0