結果
| 問題 |
No.166 マス埋めゲーム
|
| コンテスト | |
| ユーザー |
lam6er
|
| 提出日時 | 2025-03-20 18:37:53 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 38 ms / 1,000 ms |
| コード長 | 154 bytes |
| コンパイル時間 | 219 ms |
| コンパイル使用メモリ | 82,316 KB |
| 実行使用メモリ | 53,724 KB |
| 最終ジャッジ日時 | 2025-03-20 18:37:55 |
| 合計ジャッジ時間 | 1,787 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 20 |
ソースコード
H, W, N, K = map(int, input().split())
total = H * W
remainder = total % N
loser = N if remainder == 0 else remainder
print("YES" if loser == K else "NO")
lam6er