結果

問題 No.1048 Zero (Advanced)
ユーザー tktk_snsn
提出日時 2020-12-16 18:30:44
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 218 bytes
コンパイル時間 305 ms
コンパイル使用メモリ 82,292 KB
実行使用メモリ 53,500 KB
最終ジャッジ日時 2024-09-20 05:13:25
合計ジャッジ時間 1,621 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 13 WA * 2
権限があれば一括ダウンロードができます

ソースコード

diff #

L, R, M, K = map(int, input().split())

nmin = L * K
nmax = R * K

if nmax - nmin + 1 >= M:
    print("Yes")
else:
    mx = nmax % M
    mn = nmin % M
    if mn >= mx:
        print("Yes")
    else:
        print("No")
0