結果

問題 No.218 経験値1.5倍
ユーザー YamaKasa
提出日時 2018-05-18 16:21:06
言語 Java
(openjdk 23)
結果
AC  
実行時間 134 ms / 2,000 ms
コード長 444 bytes
コンパイル時間 2,037 ms
コンパイル使用メモリ 74,648 KB
実行使用メモリ 41,392 KB
最終ジャッジ日時 2024-06-28 13:45:11
合計ジャッジ時間 7,124 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 31
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();
		scan.close();
		int k1 = (int)Math.ceil((double)a / b);
		int k2 = (int)Math.ceil((double)a / c);
		double k3 = ((double)2.0 * k1 / 3.0);

		if(k2 <= k3) {
			System.out.println("YES");
		}else {
			System.out.println("NO");
		}

	}
}
0