結果

問題 No.218 経験値1.5倍
ユーザー yagi2yagi2
提出日時 2017-04-21 12:04:38
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 445 bytes
コンパイル時間 1,930 ms
コンパイル使用メモリ 71,988 KB
実行使用メモリ 56,252 KB
最終ジャッジ日時 2023-09-27 10:51:30
合計ジャッジ時間 7,218 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 120 ms
56,140 KB
testcase_01 AC 120 ms
56,008 KB
testcase_02 AC 121 ms
55,608 KB
testcase_03 AC 121 ms
55,916 KB
testcase_04 AC 117 ms
56,088 KB
testcase_05 AC 120 ms
55,744 KB
testcase_06 AC 121 ms
55,624 KB
testcase_07 AC 119 ms
55,896 KB
testcase_08 AC 121 ms
55,604 KB
testcase_09 AC 117 ms
56,024 KB
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 AC 122 ms
55,396 KB
testcase_14 AC 120 ms
55,592 KB
testcase_15 WA -
testcase_16 WA -
testcase_17 AC 119 ms
55,612 KB
testcase_18 WA -
testcase_19 AC 122 ms
55,748 KB
testcase_20 WA -
testcase_21 AC 118 ms
55,984 KB
testcase_22 AC 123 ms
55,736 KB
testcase_23 AC 121 ms
55,740 KB
testcase_24 AC 116 ms
55,692 KB
testcase_25 AC 120 ms
55,420 KB
testcase_26 WA -
testcase_27 AC 117 ms
55,708 KB
testcase_28 WA -
testcase_29 AC 118 ms
55,496 KB
testcase_30 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        long a = Long.parseLong(sc.next());
        long b = Long.parseLong(sc.next());
        long c = Long.parseLong(sc.next());

        if ((double)a / c <= ((double)a / b) * (2.0 / 3.0)) {
            System.out.println("YES");
        } else {
            System.out.println("NO");
        }
    }
}
0