結果

問題 No.218 経験値1.5倍
ユーザー crazybbb3crazybbb3
提出日時 2017-01-31 22:32:27
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 1,787 bytes
コンパイル時間 2,134 ms
コンパイル使用メモリ 74,700 KB
実行使用メモリ 52,036 KB
最終ジャッジ日時 2023-08-25 16:37:57
合計ジャッジ時間 4,830 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 AC 42 ms
49,528 KB
testcase_07 AC 44 ms
49,524 KB
testcase_08 WA -
testcase_09 WA -
testcase_10 AC 43 ms
49,460 KB
testcase_11 WA -
testcase_12 AC 43 ms
49,624 KB
testcase_13 WA -
testcase_14 AC 44 ms
49,368 KB
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 AC 42 ms
49,868 KB
testcase_19 WA -
testcase_20 AC 43 ms
49,488 KB
testcase_21 WA -
testcase_22 WA -
testcase_23 WA -
testcase_24 AC 43 ms
49,560 KB
testcase_25 WA -
testcase_26 WA -
testcase_27 WA -
testcase_28 WA -
testcase_29 WA -
testcase_30 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.util.StringTokenizer;

public class Main {

    void solve() throws IOException {
        long a = nl(), b = nl(), c = nl();
        long x = a / b;
        long y = a / c;
        if (x * 2 <= y * 3) {
            out.println("YES");
        } else {
            out.println("NO");
        }
    }

    String ns() throws IOException {
        while (!tok.hasMoreTokens()) {
            tok = new StringTokenizer(in.readLine(), " ");
        }
        return tok.nextToken();
    }

    int ni() throws IOException {
        return Integer.parseInt(ns());
    }

    long nl() throws IOException {
        return Long.parseLong(ns());
    }

    double nd() throws IOException {
        return Double.parseDouble(ns());
    }

    String[] nsa(int n) throws IOException {
        String[] res = new String[n];
        for (int i = 0; i < n; i++) {
            res[i] = ns();
        }
        return res;
    }

    int[] nia(int n) throws IOException {
        int[] res = new int[n];
        for (int i = 0; i < n; i++) {
            res[i] = ni();
        }
        return res;
    }

    long[] nla(int n) throws IOException {
        long[] res = new long[n];
        for (int i = 0; i < n; i++) {
            res[i] = nl();
        }
        return res;
    }

    static BufferedReader in;
    static PrintWriter out;
    static StringTokenizer tok;

    public static void main(String[] args) throws IOException {
        in = new BufferedReader(new InputStreamReader(System.in));
        out = new PrintWriter(System.out);
        tok = new StringTokenizer("");
        Main main = new Main();
        main.solve();
        out.close();
    }
}
0