結果

問題 No.218 経験値1.5倍
ユーザー 8130Tsk8130Tsk
提出日時 2015-08-02 23:54:05
言語 Java21
(openjdk 21)
結果
AC  
実行時間 141 ms / 2,000 ms
コード長 501 bytes
コンパイル時間 5,813 ms
コンパイル使用メモリ 71,932 KB
実行使用メモリ 57,776 KB
最終ジャッジ日時 2023-08-28 14:16:21
合計ジャッジ時間 10,542 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 141 ms
56,392 KB
testcase_01 AC 139 ms
56,012 KB
testcase_02 AC 136 ms
55,600 KB
testcase_03 AC 136 ms
55,984 KB
testcase_04 AC 136 ms
55,632 KB
testcase_05 AC 137 ms
56,136 KB
testcase_06 AC 138 ms
56,016 KB
testcase_07 AC 138 ms
56,336 KB
testcase_08 AC 137 ms
56,216 KB
testcase_09 AC 139 ms
55,908 KB
testcase_10 AC 139 ms
55,920 KB
testcase_11 AC 136 ms
56,060 KB
testcase_12 AC 138 ms
55,636 KB
testcase_13 AC 137 ms
55,912 KB
testcase_14 AC 138 ms
54,256 KB
testcase_15 AC 137 ms
56,232 KB
testcase_16 AC 138 ms
54,028 KB
testcase_17 AC 138 ms
56,036 KB
testcase_18 AC 138 ms
56,120 KB
testcase_19 AC 138 ms
56,196 KB
testcase_20 AC 138 ms
55,812 KB
testcase_21 AC 139 ms
55,896 KB
testcase_22 AC 136 ms
56,352 KB
testcase_23 AC 137 ms
55,616 KB
testcase_24 AC 138 ms
55,632 KB
testcase_25 AC 138 ms
56,028 KB
testcase_26 AC 137 ms
57,776 KB
testcase_27 AC 139 ms
56,176 KB
testcase_28 AC 140 ms
56,140 KB
testcase_29 AC 138 ms
56,056 KB
testcase_30 AC 137 ms
54,088 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class No218 {

    public static void main(String[] args) {
        // TODO Auto-generated method stub
        Scanner sc = new Scanner(System.in);
        double a = sc.nextDouble();
        double b = sc.nextDouble();
        double c = sc.nextDouble();
        
        int n = (int)Math.ceil(a/b);
        int k = (int)Math.ceil(a/c);

        if((n*2) >= (k*3)){
            System.out.println("YES");
        }else
            System.out.println("NO");
    }

}
0