結果

問題 No.218 経験値1.5倍
ユーザー fukuseifukusei
提出日時 2017-05-17 14:12:52
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 473 bytes
コンパイル時間 5,179 ms
コンパイル使用メモリ 77,284 KB
実行使用メモリ 58,020 KB
最終ジャッジ日時 2023-10-17 14:48:23
合計ジャッジ時間 9,425 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 AC 140 ms
57,800 KB
testcase_08 AC 141 ms
57,792 KB
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 AC 142 ms
57,612 KB
testcase_14 WA -
testcase_15 AC 141 ms
57,588 KB
testcase_16 WA -
testcase_17 AC 148 ms
57,784 KB
testcase_18 AC 138 ms
55,816 KB
testcase_19 WA -
testcase_20 AC 141 ms
57,600 KB
testcase_21 AC 144 ms
57,788 KB
testcase_22 AC 139 ms
57,816 KB
testcase_23 AC 139 ms
57,728 KB
testcase_24 WA -
testcase_25 AC 140 ms
57,676 KB
testcase_26 WA -
testcase_27 AC 142 ms
57,400 KB
testcase_28 WA -
testcase_29 WA -
testcase_30 AC 143 ms
57,676 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); 
        double e = Math.ceil(a/c); 
        
        if(e <= d * (2/3)){
        	System.out.println("YES");
        }
        else{
        	System.out.println("NO");
        }
    }
}
0