結果

問題 No.1714 Tag on Grid
ユーザー DrDrpilotDrDrpilot
提出日時 2022-01-18 15:45:51
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 68 ms / 2,000 ms
コード長 145 bytes
コンパイル時間 282 ms
コンパイル使用メモリ 87,012 KB
実行使用メモリ 71,272 KB
最終ジャッジ日時 2023-08-15 07:29:21
合計ジャッジ時間 3,421 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 64 ms
71,000 KB
testcase_01 AC 63 ms
71,240 KB
testcase_02 AC 65 ms
71,216 KB
testcase_03 AC 63 ms
71,044 KB
testcase_04 AC 65 ms
71,044 KB
testcase_05 AC 64 ms
71,200 KB
testcase_06 AC 64 ms
71,140 KB
testcase_07 AC 67 ms
70,884 KB
testcase_08 AC 63 ms
71,272 KB
testcase_09 AC 63 ms
71,252 KB
testcase_10 AC 64 ms
70,824 KB
testcase_11 AC 66 ms
71,008 KB
testcase_12 AC 65 ms
71,200 KB
testcase_13 AC 62 ms
70,996 KB
testcase_14 AC 65 ms
71,200 KB
testcase_15 AC 65 ms
71,044 KB
testcase_16 AC 68 ms
70,884 KB
testcase_17 AC 64 ms
70,752 KB
testcase_18 AC 65 ms
71,204 KB
testcase_19 AC 63 ms
71,000 KB
testcase_20 AC 65 ms
70,876 KB
testcase_21 AC 65 ms
71,196 KB
testcase_22 AC 66 ms
71,248 KB
testcase_23 AC 66 ms
71,216 KB
testcase_24 AC 63 ms
71,232 KB
testcase_25 AC 65 ms
70,996 KB
testcase_26 AC 65 ms
71,164 KB
testcase_27 AC 66 ms
71,044 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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