結果

問題 No.384 マス埋めゲーム2
ユーザー brthyyjpbrthyyjp
提出日時 2021-06-30 18:23:23
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 72 ms / 1,000 ms
コード長 99 bytes
コンパイル時間 302 ms
コンパイル使用メモリ 86,368 KB
実行使用メモリ 71,064 KB
最終ジャッジ日時 2023-09-09 11:24:45
合計ジャッジ時間 3,553 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 70 ms
70,888 KB
testcase_01 AC 69 ms
70,576 KB
testcase_02 AC 69 ms
70,620 KB
testcase_03 AC 70 ms
70,920 KB
testcase_04 AC 70 ms
70,868 KB
testcase_05 AC 70 ms
70,868 KB
testcase_06 AC 70 ms
70,624 KB
testcase_07 AC 70 ms
71,064 KB
testcase_08 AC 72 ms
70,824 KB
testcase_09 AC 71 ms
70,924 KB
testcase_10 AC 70 ms
71,040 KB
testcase_11 AC 70 ms
71,060 KB
testcase_12 AC 70 ms
70,540 KB
testcase_13 AC 69 ms
70,744 KB
testcase_14 AC 70 ms
70,920 KB
testcase_15 AC 69 ms
70,624 KB
testcase_16 AC 68 ms
70,868 KB
testcase_17 AC 69 ms
70,820 KB
testcase_18 AC 70 ms
70,752 KB
testcase_19 AC 70 ms
71,020 KB
testcase_20 AC 71 ms
71,028 KB
testcase_21 AC 68 ms
71,020 KB
testcase_22 AC 69 ms
70,832 KB
testcase_23 AC 69 ms
70,860 KB
testcase_24 AC 69 ms
70,992 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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