結果

問題 No.218 経験値1.5倍
ユーザー dazydazy
提出日時 2017-02-26 01:05:43
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 451 bytes
コンパイル時間 3,622 ms
コンパイル使用メモリ 72,192 KB
実行使用メモリ 58,276 KB
最終ジャッジ日時 2023-09-02 08:39:11
合計ジャッジ時間 9,373 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 AC 128 ms
56,112 KB
testcase_08 AC 126 ms
56,116 KB
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 AC 126 ms
55,844 KB
testcase_14 WA -
testcase_15 AC 126 ms
56,064 KB
testcase_16 WA -
testcase_17 AC 125 ms
55,616 KB
testcase_18 AC 126 ms
56,380 KB
testcase_19 WA -
testcase_20 AC 124 ms
55,616 KB
testcase_21 AC 128 ms
56,036 KB
testcase_22 AC 125 ms
55,584 KB
testcase_23 AC 128 ms
55,764 KB
testcase_24 WA -
testcase_25 AC 124 ms
56,008 KB
testcase_26 WA -
testcase_27 AC 123 ms
55,848 KB
testcase_28 WA -
testcase_29 WA -
testcase_30 AC 126 ms
55,604 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 ((tmp2*10)/tmp1 < 15) ans = "NO";
        System.out.println(ans);
    }
}
0