結果

問題 No.166 マス埋めゲーム
ユーザー tarotaro789tarotaro789
提出日時 2017-04-23 21:08:32
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 100 bytes
コンパイル時間 95 ms
コンパイル使用メモリ 10,572 KB
実行使用メモリ 7,964 KB
最終ジャッジ日時 2023-09-29 16:00:36
合計ジャッジ時間 1,317 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 12 ms
7,760 KB
testcase_02 AC 13 ms
7,936 KB
testcase_03 AC 13 ms
7,964 KB
testcase_04 AC 13 ms
7,964 KB
testcase_05 AC 13 ms
7,852 KB
testcase_06 WA -
testcase_07 AC 12 ms
7,848 KB
testcase_08 AC 13 ms
7,824 KB
testcase_09 AC 12 ms
7,856 KB
testcase_10 AC 13 ms
7,848 KB
testcase_11 AC 13 ms
7,768 KB
testcase_12 AC 12 ms
7,808 KB
testcase_13 AC 13 ms
7,852 KB
testcase_14 AC 14 ms
7,768 KB
testcase_15 AC 12 ms
7,768 KB
testcase_16 AC 12 ms
7,808 KB
testcase_17 WA -
testcase_18 AC 13 ms
7,820 KB
testcase_19 AC 12 ms
7,820 KB
testcase_20 AC 12 ms
7,860 KB
testcase_21 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

h,w,n,k=map(int,input().split())
are=h*w
kt=are%n

if kt==k:
    print("YES")
else:
    print("NO")
0