結果

問題 No.218 経験値1.5倍
ユーザー tsunabittsunabit
提出日時 2019-05-23 00:13:03
言語 Java21
(openjdk 21)
結果
AC  
実行時間 135 ms / 2,000 ms
コード長 608 bytes
コンパイル時間 4,633 ms
コンパイル使用メモリ 79,580 KB
実行使用メモリ 57,704 KB
最終ジャッジ日時 2023-10-17 11:24:03
合計ジャッジ時間 10,165 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 132 ms
57,608 KB
testcase_01 AC 133 ms
57,652 KB
testcase_02 AC 131 ms
57,464 KB
testcase_03 AC 130 ms
57,520 KB
testcase_04 AC 130 ms
57,224 KB
testcase_05 AC 126 ms
57,492 KB
testcase_06 AC 131 ms
57,540 KB
testcase_07 AC 131 ms
57,456 KB
testcase_08 AC 132 ms
57,464 KB
testcase_09 AC 134 ms
57,672 KB
testcase_10 AC 133 ms
57,480 KB
testcase_11 AC 131 ms
57,544 KB
testcase_12 AC 132 ms
57,492 KB
testcase_13 AC 131 ms
57,484 KB
testcase_14 AC 131 ms
57,628 KB
testcase_15 AC 132 ms
57,508 KB
testcase_16 AC 133 ms
57,084 KB
testcase_17 AC 132 ms
57,068 KB
testcase_18 AC 132 ms
57,056 KB
testcase_19 AC 131 ms
57,032 KB
testcase_20 AC 128 ms
57,052 KB
testcase_21 AC 129 ms
57,028 KB
testcase_22 AC 135 ms
57,124 KB
testcase_23 AC 132 ms
57,548 KB
testcase_24 AC 131 ms
57,100 KB
testcase_25 AC 129 ms
57,080 KB
testcase_26 AC 129 ms
57,032 KB
testcase_27 AC 130 ms
57,020 KB
testcase_28 AC 129 ms
57,476 KB
testcase_29 AC 130 ms
57,484 KB
testcase_30 AC 130 ms
57,704 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.ArrayList;
import java.util.Scanner;
import java.util.Collections;

public class No218 {
    public static void main(String[] args) {
        // 標準入力から読み込む際に、Scannerオブジェクトを使う。
        Scanner s = new Scanner(System.in);
        int a = s.nextInt();
        int b = s.nextInt();
        int c = s.nextInt();
        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