結果

問題 No.218 経験値1.5倍
ユーザー dazy
提出日時 2017-02-26 01:05:43
言語 Java
(openjdk 23)
結果
WA  
実行時間 -
コード長 451 bytes
コンパイル時間 3,591 ms
コンパイル使用メモリ 77,636 KB
実行使用メモリ 41,856 KB
最終ジャッジ日時 2024-06-11 15:32:46
合計ジャッジ時間 8,353 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 13 WA * 18
権限があれば一括ダウンロードができます

ソースコード

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