結果
| 問題 |
No.1048 Zero (Advanced)
|
| コンテスト | |
| ユーザー |
nephrologist
|
| 提出日時 | 2020-05-11 17:18:22 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 264 bytes |
| コンパイル時間 | 78 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2024-07-18 14:36:31 |
| 合計ジャッジ時間 | 1,302 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 WA * 1 RE * 1 |
| other | AC * 9 WA * 6 |
ソースコード
l,r,m,k=map(int,input().split())
saisho=l*k
saidai=r*k
okflag=0
if saidai-saisho+1>=m:
okflag=1
else:
amari = saisho%k
nokori=k-amari
if saisho+nokori<=saidai:
okflag=1
if k==0:
okflag=1
if okflag:
print('Yes')
else:
print('No')
nephrologist