結果

問題 No.1048 Zero (Advanced)
ユーザー tenten
提出日時 2021-01-19 09:42:40
言語 Java
(openjdk 23)
結果
WA  
実行時間 -
コード長 372 bytes
コンパイル時間 2,227 ms
コンパイル使用メモリ 74,696 KB
実行使用メモリ 54,264 KB
最終ジャッジ日時 2024-12-16 01:13:26
合計ジャッジ時間 5,859 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 14 WA * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main {
	public static void main (String[] args) {
		Scanner sc = new Scanner(System.in);
		int left = sc.nextInt();
		int right = sc.nextInt();
		int mod = sc.nextInt();
		long k = sc.nextInt();
		if ((left * k - 1) / mod < right * k / mod || k == 0) {
		    System.out.println("Yes");
		} else {
		    System.out.println("No");
		}
	}
}
0