結果

問題 No.218 経験値1.5倍
ユーザー dazy
提出日時 2017-02-26 01:07:53
言語 Java
(openjdk 23)
結果
AC  
実行時間 151 ms / 2,000 ms
コード長 451 bytes
コンパイル時間 3,817 ms
コンパイル使用メモリ 78,144 KB
実行使用メモリ 41,536 KB
最終ジャッジ日時 2024-12-29 16:00:09
合計ジャッジ時間 9,550 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 31
権限があれば一括ダウンロードができます

ソースコード

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