結果

問題 No.218 経験値1.5倍
ユーザー dazydazy
提出日時 2017-02-26 01:07:53
言語 Java21
(openjdk 21)
結果
AC  
実行時間 124 ms / 2,000 ms
コード長 451 bytes
コンパイル時間 3,098 ms
コンパイル使用メモリ 71,888 KB
実行使用メモリ 56,176 KB
最終ジャッジ日時 2023-08-28 14:31:26
合計ジャッジ時間 8,039 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 119 ms
55,764 KB
testcase_01 AC 120 ms
55,540 KB
testcase_02 AC 120 ms
55,324 KB
testcase_03 AC 120 ms
55,588 KB
testcase_04 AC 120 ms
55,500 KB
testcase_05 AC 120 ms
55,464 KB
testcase_06 AC 119 ms
55,556 KB
testcase_07 AC 120 ms
55,816 KB
testcase_08 AC 121 ms
55,576 KB
testcase_09 AC 120 ms
55,808 KB
testcase_10 AC 120 ms
55,580 KB
testcase_11 AC 119 ms
55,556 KB
testcase_12 AC 122 ms
55,860 KB
testcase_13 AC 121 ms
55,432 KB
testcase_14 AC 122 ms
55,892 KB
testcase_15 AC 120 ms
55,360 KB
testcase_16 AC 121 ms
55,524 KB
testcase_17 AC 120 ms
55,684 KB
testcase_18 AC 121 ms
55,472 KB
testcase_19 AC 119 ms
55,332 KB
testcase_20 AC 119 ms
55,832 KB
testcase_21 AC 120 ms
55,604 KB
testcase_22 AC 124 ms
55,780 KB
testcase_23 AC 120 ms
56,176 KB
testcase_24 AC 120 ms
55,652 KB
testcase_25 AC 121 ms
55,836 KB
testcase_26 AC 120 ms
55,984 KB
testcase_27 AC 120 ms
56,008 KB
testcase_28 AC 120 ms
55,784 KB
testcase_29 AC 119 ms
55,608 KB
testcase_30 AC 120 ms
55,620 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Run {
    public static void main (String arg[]) {
        Scanner scan = new Scanner(System.in);
        String ans = "YES";
        int a = scan.nextInt();
        int b = scan.nextInt();
        int c = scan.nextInt();
        int tmp1 = a / b;
        int tmp2 = a / c;

        if (a%b!=0) tmp1++;
        if (a%c!=0) tmp2++;

        if ((tmp1*10)/tmp2 < 15) ans = "NO";
        System.out.println(ans);
    }
}
0