結果

問題 No.218 経験値1.5倍
ユーザー fukuseifukusei
提出日時 2017-05-17 14:19:22
言語 Java21
(openjdk 21)
結果
AC  
実行時間 136 ms / 2,000 ms
コード長 465 bytes
コンパイル時間 3,400 ms
コンパイル使用メモリ 72,796 KB
実行使用メモリ 56,504 KB
最終ジャッジ日時 2023-08-28 14:33:14
合計ジャッジ時間 8,991 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 129 ms
55,904 KB
testcase_01 AC 129 ms
56,236 KB
testcase_02 AC 128 ms
56,136 KB
testcase_03 AC 130 ms
56,032 KB
testcase_04 AC 130 ms
56,180 KB
testcase_05 AC 130 ms
56,192 KB
testcase_06 AC 130 ms
55,992 KB
testcase_07 AC 130 ms
56,128 KB
testcase_08 AC 130 ms
56,356 KB
testcase_09 AC 130 ms
56,008 KB
testcase_10 AC 128 ms
56,368 KB
testcase_11 AC 130 ms
55,888 KB
testcase_12 AC 129 ms
55,996 KB
testcase_13 AC 130 ms
56,172 KB
testcase_14 AC 131 ms
55,740 KB
testcase_15 AC 128 ms
55,996 KB
testcase_16 AC 128 ms
56,504 KB
testcase_17 AC 132 ms
54,328 KB
testcase_18 AC 131 ms
54,456 KB
testcase_19 AC 132 ms
56,036 KB
testcase_20 AC 132 ms
56,328 KB
testcase_21 AC 129 ms
56,292 KB
testcase_22 AC 130 ms
56,252 KB
testcase_23 AC 129 ms
55,908 KB
testcase_24 AC 129 ms
56,000 KB
testcase_25 AC 132 ms
56,120 KB
testcase_26 AC 132 ms
55,836 KB
testcase_27 AC 133 ms
55,800 KB
testcase_28 AC 136 ms
55,912 KB
testcase_29 AC 134 ms
56,264 KB
testcase_30 AC 127 ms
56,372 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*; 

public class test {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        double a = sc.nextDouble(); 
        double b = sc.nextDouble();  
        double c = sc.nextDouble();
        
        double d = Math.ceil(a/b) * 2/3;  
        double e = Math.ceil(a/c);  

        if(e <= d){
        	System.out.println("YES");
        }
        else{
        	System.out.println("NO");
        }
    }
}
0