結果

問題 No.384 マス埋めゲーム2
ユーザー convexineqconvexineq
提出日時 2021-02-05 05:21:09
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 67 ms / 1,000 ms
コード長 77 bytes
コンパイル時間 639 ms
コンパイル使用メモリ 87,052 KB
実行使用メモリ 71,440 KB
最終ジャッジ日時 2023-09-14 03:25:04
合計ジャッジ時間 3,683 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 62 ms
71,100 KB
testcase_01 AC 60 ms
71,256 KB
testcase_02 AC 60 ms
71,180 KB
testcase_03 AC 60 ms
71,372 KB
testcase_04 AC 61 ms
71,288 KB
testcase_05 AC 62 ms
71,048 KB
testcase_06 AC 63 ms
71,080 KB
testcase_07 AC 63 ms
71,232 KB
testcase_08 AC 61 ms
71,236 KB
testcase_09 AC 62 ms
71,316 KB
testcase_10 AC 60 ms
71,336 KB
testcase_11 AC 62 ms
71,316 KB
testcase_12 AC 64 ms
71,132 KB
testcase_13 AC 62 ms
71,320 KB
testcase_14 AC 62 ms
71,184 KB
testcase_15 AC 61 ms
71,136 KB
testcase_16 AC 62 ms
71,200 KB
testcase_17 AC 61 ms
71,212 KB
testcase_18 AC 64 ms
71,188 KB
testcase_19 AC 64 ms
71,372 KB
testcase_20 AC 63 ms
71,348 KB
testcase_21 AC 66 ms
71,320 KB
testcase_22 AC 67 ms
71,212 KB
testcase_23 AC 64 ms
71,132 KB
testcase_24 AC 65 ms
71,440 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

h,w,n,k = map(int,input().split())
print("YES" if (h+w-2)%n == k-1 else "NO")
0