結果
| 問題 |
No.166 マス埋めゲーム
|
| コンテスト | |
| ユーザー |
lam6er
|
| 提出日時 | 2025-03-20 20:15:39 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 39 ms / 1,000 ms |
| コード長 | 154 bytes |
| コンパイル時間 | 168 ms |
| コンパイル使用メモリ | 82,584 KB |
| 実行使用メモリ | 53,492 KB |
| 最終ジャッジ日時 | 2025-03-20 20:16:14 |
| 合計ジャッジ時間 | 1,894 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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