結果

問題 No.218 経験値1.5倍
ユーザー yuppe19 😺yuppe19 😺
提出日時 2015-05-22 16:40:53
言語 Java21
(openjdk 21)
結果
AC  
実行時間 123 ms / 2,000 ms
コード長 494 bytes
コンパイル時間 4,562 ms
コンパイル使用メモリ 71,980 KB
実行使用メモリ 56,600 KB
最終ジャッジ日時 2023-08-28 14:02:22
合計ジャッジ時間 7,219 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 119 ms
56,112 KB
testcase_01 AC 119 ms
55,888 KB
testcase_02 AC 119 ms
56,072 KB
testcase_03 AC 120 ms
56,180 KB
testcase_04 AC 118 ms
55,884 KB
testcase_05 AC 120 ms
56,004 KB
testcase_06 AC 120 ms
56,600 KB
testcase_07 AC 119 ms
55,860 KB
testcase_08 AC 119 ms
55,952 KB
testcase_09 AC 119 ms
56,420 KB
testcase_10 AC 120 ms
55,804 KB
testcase_11 AC 120 ms
56,236 KB
testcase_12 AC 123 ms
56,084 KB
testcase_13 AC 122 ms
56,016 KB
testcase_14 AC 121 ms
55,548 KB
testcase_15 AC 122 ms
56,116 KB
testcase_16 AC 121 ms
56,248 KB
testcase_17 AC 122 ms
55,808 KB
testcase_18 AC 121 ms
55,856 KB
testcase_19 AC 120 ms
56,304 KB
testcase_20 AC 121 ms
55,828 KB
testcase_21 AC 119 ms
55,512 KB
testcase_22 AC 119 ms
56,056 KB
testcase_23 AC 121 ms
53,732 KB
testcase_24 AC 120 ms
56,036 KB
testcase_25 AC 120 ms
56,216 KB
testcase_26 AC 118 ms
55,900 KB
testcase_27 AC 119 ms
55,784 KB
testcase_28 AC 118 ms
56,016 KB
testcase_29 AC 120 ms
55,880 KB
testcase_30 AC 122 ms
56,188 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main {
    private void solve() {
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        int x = a / b + (a%b>0 ? 1 : 0);
        int y = a / c + (a%c>0 ? 1 : 0);
        String res;
        if(2*x >= 3*y) { res = "YES"; }
        else { res = "NO"; }
        System.out.println(res);
    }

    public static void main(String[] args) {
        new Main().solve();
    }
}
0