結果
| 問題 |
No.1714 Tag on Grid
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-01-18 15:45:51 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 39 ms / 2,000 ms |
| コード長 | 145 bytes |
| コンパイル時間 | 195 ms |
| コンパイル使用メモリ | 82,176 KB |
| 実行使用メモリ | 52,096 KB |
| 最終ジャッジ日時 | 2024-11-23 13:21:58 |
| 合計ジャッジ時間 | 2,134 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 25 |
ソースコード
h,w=map(int,input().split())
y,x=map(int,input().split())
Y,X=map(int,input().split())
diff=abs(x-X)+abs(y-Y)
print('Yes' if diff%2==1 else 'No')