結果
| 問題 |
No.1714 Tag on Grid
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-10-25 23:34:03 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 36 ms / 2,000 ms |
| コード長 | 184 bytes |
| コンパイル時間 | 309 ms |
| コンパイル使用メモリ | 82,256 KB |
| 実行使用メモリ | 53,512 KB |
| 最終ジャッジ日時 | 2024-10-03 22:39:32 |
| 合計ジャッジ時間 | 2,112 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 25 |
ソースコード
H,W = map(int,input().split())
h1,w1 = map(int,input().split())
h2,w2 = map(int,input().split())
mann = abs(h1-h2) + abs(w1-w2)
if mann % 2 == 0:
print('No')
else:
print('Yes')