結果
| 問題 |
No.166 マス埋めゲーム
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2017-11-17 18:38:36 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 112 bytes |
| コンパイル時間 | 82 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,624 KB |
| 最終ジャッジ日時 | 2024-11-25 08:51:56 |
| 合計ジャッジ時間 | 1,341 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 WA * 1 |
| other | AC * 20 |
ソースコード
a,b,n,k=map(int,input().split())
total=a*b
if total%n==0 or total%n==k:
print("YES")
else:
print("NO")