結果

問題 No.218 経験値1.5倍
ユーザー YamaKasaYamaKasa
提出日時 2018-05-18 16:21:06
言語 Java21
(openjdk 21)
結果
AC  
実行時間 128 ms / 2,000 ms
コード長 444 bytes
コンパイル時間 2,071 ms
コンパイル使用メモリ 71,376 KB
実行使用メモリ 56,116 KB
最終ジャッジ日時 2023-09-10 22:53:47
合計ジャッジ時間 7,413 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 123 ms
55,656 KB
testcase_01 AC 124 ms
55,932 KB
testcase_02 AC 123 ms
55,860 KB
testcase_03 AC 124 ms
55,948 KB
testcase_04 AC 124 ms
55,876 KB
testcase_05 AC 122 ms
55,532 KB
testcase_06 AC 122 ms
55,492 KB
testcase_07 AC 125 ms
55,812 KB
testcase_08 AC 124 ms
55,568 KB
testcase_09 AC 124 ms
55,764 KB
testcase_10 AC 123 ms
56,024 KB
testcase_11 AC 122 ms
55,696 KB
testcase_12 AC 122 ms
55,980 KB
testcase_13 AC 122 ms
56,116 KB
testcase_14 AC 122 ms
55,936 KB
testcase_15 AC 124 ms
56,108 KB
testcase_16 AC 125 ms
55,988 KB
testcase_17 AC 122 ms
56,036 KB
testcase_18 AC 125 ms
55,836 KB
testcase_19 AC 124 ms
55,724 KB
testcase_20 AC 128 ms
55,728 KB
testcase_21 AC 127 ms
54,172 KB
testcase_22 AC 125 ms
55,408 KB
testcase_23 AC 123 ms
55,728 KB
testcase_24 AC 122 ms
55,496 KB
testcase_25 AC 127 ms
55,992 KB
testcase_26 AC 123 ms
55,648 KB
testcase_27 AC 124 ms
55,520 KB
testcase_28 AC 125 ms
55,968 KB
testcase_29 AC 126 ms
55,736 KB
testcase_30 AC 125 ms
55,676 KB
権限があれば一括ダウンロードができます

ソースコード

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