結果

問題 No.1048 Zero (Advanced)
ユーザー joybeeeejoybeeee
提出日時 2020-05-12 17:00:13
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 353 bytes
コンパイル時間 2,223 ms
コンパイル使用メモリ 72,440 KB
実行使用メモリ 57,576 KB
最終ジャッジ日時 2023-10-11 16:35:36
合計ジャッジ時間 5,752 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 126 ms
55,816 KB
testcase_01 AC 124 ms
55,748 KB
testcase_02 AC 125 ms
55,672 KB
testcase_03 AC 126 ms
55,748 KB
testcase_04 AC 127 ms
55,408 KB
testcase_05 AC 130 ms
55,648 KB
testcase_06 AC 125 ms
55,756 KB
testcase_07 AC 129 ms
55,916 KB
testcase_08 AC 127 ms
55,592 KB
testcase_09 WA -
testcase_10 WA -
testcase_11 AC 128 ms
55,672 KB
testcase_12 AC 126 ms
55,672 KB
testcase_13 AC 125 ms
56,108 KB
testcase_14 WA -
testcase_15 AC 125 ms
55,896 KB
testcase_16 WA -
testcase_17 AC 128 ms
55,692 KB
testcase_18 AC 127 ms
57,576 KB
権限があれば一括ダウンロードができます

ソースコード

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();
        long r = sc.nextInt();
        int m = sc.nextInt();
        int k = sc.nextInt();

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