結果

問題 No.1714 Tag on Grid
ユーザー horitaka1999horitaka1999
提出日時 2021-10-25 23:34:03
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 39 ms / 2,000 ms
コード長 184 bytes
コンパイル時間 182 ms
コンパイル使用メモリ 82,376 KB
実行使用メモリ 53,536 KB
最終ジャッジ日時 2024-04-14 20:13:11
合計ジャッジ時間 2,333 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 39 ms
52,884 KB
testcase_01 AC 37 ms
52,212 KB
testcase_02 AC 36 ms
52,728 KB
testcase_03 AC 36 ms
52,700 KB
testcase_04 AC 35 ms
52,876 KB
testcase_05 AC 36 ms
53,536 KB
testcase_06 AC 37 ms
52,596 KB
testcase_07 AC 36 ms
52,236 KB
testcase_08 AC 36 ms
52,552 KB
testcase_09 AC 37 ms
52,552 KB
testcase_10 AC 37 ms
52,340 KB
testcase_11 AC 36 ms
52,108 KB
testcase_12 AC 36 ms
52,888 KB
testcase_13 AC 36 ms
52,392 KB
testcase_14 AC 36 ms
53,492 KB
testcase_15 AC 37 ms
52,204 KB
testcase_16 AC 37 ms
52,728 KB
testcase_17 AC 36 ms
52,440 KB
testcase_18 AC 37 ms
52,608 KB
testcase_19 AC 36 ms
52,480 KB
testcase_20 AC 36 ms
52,772 KB
testcase_21 AC 37 ms
52,540 KB
testcase_22 AC 36 ms
52,272 KB
testcase_23 AC 37 ms
52,456 KB
testcase_24 AC 36 ms
53,016 KB
testcase_25 AC 36 ms
53,300 KB
testcase_26 AC 36 ms
52,888 KB
testcase_27 AC 36 ms
52,276 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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')
0