結果

問題 No.218 経験値1.5倍
ユーザー kou6839kou6839
提出日時 2015-05-30 23:12:20
言語 Java21
(openjdk 21)
結果
AC  
実行時間 129 ms / 2,000 ms
コード長 508 bytes
コンパイル時間 2,187 ms
コンパイル使用メモリ 71,708 KB
実行使用メモリ 55,928 KB
最終ジャッジ日時 2023-08-28 14:08:09
合計ジャッジ時間 7,410 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 125 ms
55,576 KB
testcase_01 AC 125 ms
55,348 KB
testcase_02 AC 126 ms
55,848 KB
testcase_03 AC 125 ms
55,344 KB
testcase_04 AC 125 ms
55,828 KB
testcase_05 AC 126 ms
55,360 KB
testcase_06 AC 128 ms
55,540 KB
testcase_07 AC 126 ms
55,748 KB
testcase_08 AC 126 ms
55,724 KB
testcase_09 AC 126 ms
55,856 KB
testcase_10 AC 125 ms
55,400 KB
testcase_11 AC 123 ms
55,740 KB
testcase_12 AC 125 ms
55,720 KB
testcase_13 AC 125 ms
55,848 KB
testcase_14 AC 125 ms
55,592 KB
testcase_15 AC 124 ms
55,912 KB
testcase_16 AC 125 ms
55,860 KB
testcase_17 AC 126 ms
55,856 KB
testcase_18 AC 126 ms
55,532 KB
testcase_19 AC 124 ms
55,584 KB
testcase_20 AC 129 ms
55,844 KB
testcase_21 AC 125 ms
55,760 KB
testcase_22 AC 125 ms
55,820 KB
testcase_23 AC 124 ms
55,556 KB
testcase_24 AC 125 ms
55,500 KB
testcase_25 AC 124 ms
55,356 KB
testcase_26 AC 122 ms
55,336 KB
testcase_27 AC 124 ms
55,928 KB
testcase_28 AC 124 ms
55,424 KB
testcase_29 AC 125 ms
55,748 KB
testcase_30 AC 125 ms
55,860 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.io.*;
import java.util.*;

public class Main {
    public static void main(String[] args){
        // TODO 自動生成されたメソッド・スタブ
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        double aa = Math.ceil(a*1.0/b);
        double bb = Math.ceil(1.0*a/c);
        if(aa*2/3>=bb){
        	System.out.println("YES");
        }else{
        	System.out.println("NO");
        }
    }
}
0