結果

問題 No.166 マス埋めゲーム
ユーザー あかりきあかりき
提出日時 2021-02-12 12:01:53
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 81 ms / 1,000 ms
コード長 84 bytes
コンパイル時間 835 ms
コンパイル使用メモリ 87,024 KB
実行使用メモリ 71,464 KB
最終ジャッジ日時 2023-09-26 11:39:28
合計ジャッジ時間 3,656 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 76 ms
71,076 KB
testcase_01 AC 74 ms
71,464 KB
testcase_02 AC 77 ms
71,236 KB
testcase_03 AC 79 ms
71,228 KB
testcase_04 AC 76 ms
71,304 KB
testcase_05 AC 75 ms
71,460 KB
testcase_06 AC 76 ms
71,084 KB
testcase_07 AC 75 ms
71,168 KB
testcase_08 AC 79 ms
71,444 KB
testcase_09 AC 75 ms
71,464 KB
testcase_10 AC 78 ms
71,360 KB
testcase_11 AC 80 ms
71,296 KB
testcase_12 AC 77 ms
71,444 KB
testcase_13 AC 78 ms
71,284 KB
testcase_14 AC 78 ms
71,340 KB
testcase_15 AC 81 ms
71,140 KB
testcase_16 AC 78 ms
71,280 KB
testcase_17 AC 77 ms
71,340 KB
testcase_18 AC 79 ms
71,396 KB
testcase_19 AC 78 ms
71,072 KB
testcase_20 AC 76 ms
71,368 KB
testcase_21 AC 77 ms
71,176 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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