結果

問題 No.218 経験値1.5倍
ユーザー kenji_shioyakenji_shioya
提出日時 2016-06-09 19:21:53
言語 Java21
(openjdk 21)
結果
AC  
実行時間 138 ms / 2,000 ms
コード長 390 bytes
コンパイル時間 3,112 ms
コンパイル使用メモリ 72,236 KB
実行使用メモリ 58,368 KB
最終ジャッジ日時 2023-08-28 14:23:16
合計ジャッジ時間 8,412 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 132 ms
56,164 KB
testcase_01 AC 128 ms
55,972 KB
testcase_02 AC 129 ms
55,984 KB
testcase_03 AC 132 ms
56,416 KB
testcase_04 AC 131 ms
58,368 KB
testcase_05 AC 128 ms
56,028 KB
testcase_06 AC 134 ms
55,804 KB
testcase_07 AC 136 ms
55,792 KB
testcase_08 AC 134 ms
55,800 KB
testcase_09 AC 136 ms
55,844 KB
testcase_10 AC 135 ms
55,896 KB
testcase_11 AC 136 ms
56,096 KB
testcase_12 AC 138 ms
56,288 KB
testcase_13 AC 138 ms
55,916 KB
testcase_14 AC 138 ms
55,900 KB
testcase_15 AC 138 ms
56,208 KB
testcase_16 AC 133 ms
56,212 KB
testcase_17 AC 134 ms
55,824 KB
testcase_18 AC 137 ms
56,524 KB
testcase_19 AC 135 ms
55,772 KB
testcase_20 AC 133 ms
55,972 KB
testcase_21 AC 134 ms
55,976 KB
testcase_22 AC 137 ms
55,904 KB
testcase_23 AC 131 ms
56,056 KB
testcase_24 AC 130 ms
58,168 KB
testcase_25 AC 133 ms
56,348 KB
testcase_26 AC 134 ms
56,400 KB
testcase_27 AC 137 ms
55,900 KB
testcase_28 AC 135 ms
55,968 KB
testcase_29 AC 133 ms
55,632 KB
testcase_30 AC 129 ms
55,844 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Exercise73{
  public static void main (String[] args){

    Scanner sc = new Scanner(System.in);

    double a = sc.nextDouble();
    double b = sc.nextDouble();
    double c = sc.nextDouble();

    if((Math.ceil(a / c) / Math.ceil(a / b)) <= ((double)2 / (double)3)){
      System.out.println("YES");
    }else{
      System.out.println("NO");
    }
  }
}
0