結果

問題 No.1048 Zero (Advanced)
ユーザー joybeeee
提出日時 2020-05-12 16:49:55
言語 Java
(openjdk 23)
結果
WA  
実行時間 -
コード長 394 bytes
コンパイル時間 2,412 ms
コンパイル使用メモリ 74,040 KB
実行使用メモリ 41,688 KB
最終ジャッジ日時 2024-09-13 15:03:21
合計ジャッジ時間 5,978 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 10 WA * 5
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main {
    public static void main(String args[]) throws Exception {
        Scanner sc = new Scanner(System.in);
        int l = sc.nextInt();
        int r = sc.nextInt();
        int m = sc.nextInt();
        int k = sc.nextInt();

        int ll = l;
        int rr = r * k;
        System.out.println(ll <= m && m <= rr || k == 0 ? "Yes" : "No");
    }
}
0